summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/Inputs/CommentXML
Commit message (Collapse)AuthorAgeFilesLines
* [Wdocumentation] Implement \anchorMark de Wever2019-12-211-0/+9
| | | | Differential revision: https://reviews.llvm.org/D69223
* Comment parsing: remove HTML attribute validationDmitri Gribenko2014-04-301-2/+2
| | | | | | | | | | | | Since the community says that a blacklist is not good enough, and I don't have enough time now to implement a proper whitelist, let's just remove the attribute validation. But, nevertheless, we can still communicate in the generated XML if our parser found an issue with the HTML. But this bit is best-effort and is specifically called out in the schema as such. llvm-svn: 207712
* Comment parsing: in the generated XML file, mark HTML that is safe to passDmitri Gribenko2014-04-221-1/+10
| | | | | | | | | | | through to the output even if the input comment comes from an untrusted source Attribute filtering is currently based on a blacklist, which right now includes all event handler attributes (they contain JavaScipt code). It should be switched to a whitelist, but going over all of the HTML5 spec requires a significant amount of time. llvm-svn: 206882
* Documentation parsing: add support for \throws \throw \exception commandsDmitri Gribenko2013-11-121-3/+7
| | | | llvm-svn: 194521
* Comment parsing: allow "\param ..." to describe variadic argumentsDmitri Gribenko2013-06-242-4/+23
| | | | | | | | Original patch by Fariborz Jahanian; extended by me. Fixes rdar://14124644 llvm-svn: 184688
* Comment parsing: followup to r184610: allow multiple \returnsDmitri Gribenko2013-06-221-3/+6
| | | | | | | | | Remove unneeded member in CommentSema, add a test for the XML schema (the schema already allowed multiple paragraphs in <ResultDiscussion>, but there were no tests for that), fix HTML generation (it is not allowed to have <p> inside <dl>). llvm-svn: 184652
* doxygen command. Add 'attention' command to list of similarFariborz Jahanian2013-02-261-0/+1
| | | | | | doxygen commands. // rdar://12379053 llvm-svn: 176127
* Comment parsing: improve the fidelity of XML output for many block commandsDmitri Gribenko2013-02-013-0/+44
| | | | | | | | | | | | | | This change introduces a 'kind' attribute for the <Para> tag, that captures the kind of the parent block command. For example: \todo Meow. used to be just <Para>Meow.</Para>, but now it is <Para kind="todo">Meow.</Para> llvm-svn: 174216
* Comment to XML conversion: escape XML special chars correctly; use correctDmitri Gribenko2012-10-031-0/+11
| | | | | | regex for version tuples. llvm-svn: 165104
* [Doc parse]: SUpport for message in deprecated/unavailableFariborz Jahanian2012-10-022-2/+3
| | | | | | attribute going iinto XML document. llvm-svn: 165066
* [Doc parsing]: Add available and deprecated attribute infoFariborz Jahanian2012-10-022-0/+12
| | | | | | to XML output. // rdar://12378879 llvm-svn: 165039
* Add xml test for availability to comment-xml-schema.cFariborz Jahanian2012-10-011-1/+5
| | | | llvm-svn: 164961
* availability in structured documents. TakesFariborz Jahanian2012-10-011-0/+7
| | | | | | care of comments by Dimitri and Doug. llvm-svn: 164957
* Comment XML: use xml:space="preserve" in Verbatim tags, so that XML tidy doesDmitri Gribenko2012-08-081-0/+1
| | | | | | not compress spaces in verbatim content. llvm-svn: 161531
* Comment AST: DeclInfo: add a special kind for enums.Dmitri Gribenko2012-08-071-0/+6
| | | | | | Comment XML: add a root node kind for enums. llvm-svn: 161442
* libclang API for comment-to-xml conversion.Dmitri Gribenko2012-08-0731-0/+297
The implementation also includes a Relax NG schema and tests for the schema itself. The schema is used in c-index-test to verify that XML documents we produce are valid. In order to do the validation, we add an optional libxml2 dependency for c-index-test. Credits for CMake part go to Doug Gregor. Credits for Autoconf part go to Eric Christopher. Thanks! llvm-svn: 161431
OpenPOWER on IntegriCloud