[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
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
Fix indentllvm-svn: 174201
[Comment parsing] Add support for recognizing\headerfile command and representing it in an xmldocument. Patch reviewed by Dmitri Gribenko.// rdar://12397511llvm-svn: 174109
[Doc parsing]: This patch adds <Declaration> tag to XML comment for declarations which pretty-printsdeclaration. I had to XFAIL one test annotate-comments.cpp.This test is currently unmaintainable
[Doc parsing]: This patch adds <Declaration> tag to XML comment for declarations which pretty-printsdeclaration. I had to XFAIL one test annotate-comments.cpp.This test is currently unmaintainable as written.Dmitri G., can you see what we can do about this test.We should change this test such that adding a new tag does not wreckhavoc to the test.llvm-svn: 166130
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
availability in structured documents. Takescare of comments by Dimitri and Doug.llvm-svn: 164957
Comment XML schema: correct indentation.llvm-svn: 164889
[Doc parsing] Add availability information to generated Comment XML.(I still need to add a test once I figure it out).Reviewed off-line by Doug. // rdar://12378879llvm-svn: 164861
Comment to XML conversion: we try not to emit empty <Discussion> elements, butit is not possible to guarantee that without duplicating logic or buffering<Discussion> element contents. So, allow em
Comment to XML conversion: we try not to emit empty <Discussion> elements, butit is not possible to guarantee that without duplicating logic or buffering<Discussion> element contents. So, allow empty <Discussion> elements in schema.llvm-svn: 163842
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