[Wdocumentation] Implement \anchorDifferential revision: https://reviews.llvm.org/D69223
Comment parsing: remove HTML attribute validationSince the community says that a blacklist is not good enough, and I don't haveenough time now to implement a proper whitelist, let's just remove th
Comment parsing: remove HTML attribute validationSince the community says that a blacklist is not good enough, and I don't haveenough time now to implement a proper whitelist, let's just remove theattribute validation.But, nevertheless, we can still communicate in the generated XML if our parserfound an issue with the HTML. But this bit is best-effort and is specificallycalled out in the schema as such.llvm-svn: 207712
show more ...
Comment parsing: in the generated XML file, mark HTML that is safe to passthrough to the output even if the input comment comes from an untrusted sourceAttribute filtering is currently based on a
Comment parsing: in the generated XML file, mark HTML that is safe to passthrough to the output even if the input comment comes from an untrusted sourceAttribute filtering is currently based on a blacklist, which right now includesall event handler attributes (they contain JavaScipt code). It should beswitched to a whitelist, but going over all of the HTML5 spec requires asignificant amount of time.llvm-svn: 206882
Documentation parsing: add support for \throws \throw \exception commandsllvm-svn: 194521
Comment parsing: allow "\param ..." to describe variadic argumentsOriginal patch by Fariborz Jahanian; extended by me.Fixes rdar://14124644llvm-svn: 184688
Comment parsing: followup to r184610: allow multiple \returnsRemove unneeded member in CommentSema, add a test for the XML schema (theschema already allowed multiple paragraphs in <ResultDiscussio
Comment parsing: followup to r184610: allow multiple \returnsRemove unneeded member in CommentSema, add a test for the XML schema (theschema already allowed multiple paragraphs in <ResultDiscussion>, but therewere 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 similardoxygen commands. // rdar://12379053llvm-svn: 176127
Comment parsing: improve the fidelity of XML output for many block commandsThis change introduces a 'kind' attribute for the <Para> tag, that captures thekind of the parent block command.For exa
Comment parsing: improve the fidelity of XML output for many block commandsThis change introduces a 'kind' attribute for the <Para> tag, that captures thekind 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 correctregex for version tuples.llvm-svn: 165104
[Doc parse]: SUpport for message in deprecated/unavailableattribute going iinto XML document.llvm-svn: 165066
[Doc parsing]: Add available and deprecated attribute infoto XML output. // rdar://12378879llvm-svn: 165039
Add xml test for availability to comment-xml-schema.cllvm-svn: 164961
availability in structured documents. Takescare of comments by Dimitri and Doug.llvm-svn: 164957
Comment XML: use xml:space="preserve" in Verbatim tags, so that XML tidy doesnot compress spaces in verbatim content.llvm-svn: 161531
Comment AST: DeclInfo: add a special kind for enums.Comment XML: add a root node kind for enums.llvm-svn: 161442
libclang API for comment-to-xml conversion.The implementation also includes a Relax NG schema and tests for the schemaitself. The schema is used in c-index-test to verify that XML documents wepr
libclang API for comment-to-xml conversion.The implementation also includes a Relax NG schema and tests for the schemaitself. The schema is used in c-index-test to verify that XML documents weproduce are valid. In order to do the validation, we add an optional libxml2dependency for c-index-test.Credits for CMake part go to Doug Gregor. Credits for Autoconf part go to EricChristopher. Thanks!llvm-svn: 161431