summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CXComment.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Comment AST: DeclInfo: add a special kind for enums.Dmitri Gribenko2012-08-071-0/+4
| | | | | | Comment XML: add a root node kind for enums. llvm-svn: 161442
* libclang API for comment-to-xml conversion.Dmitri Gribenko2012-08-071-0/+388
| | | | | | | | | | | | 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
* Comment to HTML conversion: correct typo in CSS class name: taram -> tparamDmitri Gribenko2012-08-011-2/+2
| | | | llvm-svn: 161145
* Comment to HTML conversion: refactor. Extracted a class to for FullCommentDmitri Gribenko2012-08-011-122/+137
| | | | | | semantic parts -- this will be reused for comment to XML conversion. llvm-svn: 161139
* Comment to HTML conversion: skip \tparam commands with whitespace paragraphsDmitri Gribenko2012-08-011-0/+3
| | | | llvm-svn: 161096
* Comment to HTML conversion: escape HTML special characters in command argumentsDmitri Gribenko2012-08-011-7/+17
| | | | llvm-svn: 161094
* Comment parsing: add support for \tparam command on all levels.Dmitri Gribenko2012-07-311-0/+112
| | | | | | | | | | The only caveat is renumbering CXCommentKind enum for aesthetic reasons -- this breaks libclang binary compatibility, but should not be a problem since API is so new. This also fixes PR13372 as a side-effect. llvm-svn: 161087
* Move comment from member operator() to class.Dmitri Gribenko2012-07-301-2/+2
| | | | llvm-svn: 160980
* Add missing include for Linux buildbotDmitri Gribenko2012-07-301-0/+2
| | | | llvm-svn: 160971
* Add an assert to ParamCommandComment::getParamIndex() -- it should not beDmitri Gribenko2012-07-301-4/+11
| | | | | | called unless index is valid. llvm-svn: 160970
* libclang comment to HTML rendering: \result is the same as \returnsDmitri Gribenko2012-07-251-1/+2
| | | | llvm-svn: 160738
* libclang comments AST: clang_ParamCommandComment_getParamName: don't assertDmitri Gribenko2012-07-231-1/+1
| | | | | | | when a \param command does not have a parameter name, just return an empty string instead. llvm-svn: 160638
* Comment AST: add InlineContentComment::RenderKind to specify a defaultDmitri Gribenko2012-07-231-21/+43
| | | | | | | | rendering mode for clients that don't want to interpret Doxygen commands. Also add a libclang API to query this information. llvm-svn: 160633
* Comment to HTML conversion: add more CSS classes to identify function argumentsDmitri Gribenko2012-07-211-67/+66
| | | | | | | by index. This is useful if the user does not document all arguments, and we can't find a particular argument by index via :nth-of-type() CSS selector. llvm-svn: 160595
* Add libclang APIs to walk comments ASTs and an API to convert a comment to anDmitri Gribenko2012-07-201-0/+657
HTML fragment. For testing, c-index-test now has even more output: * HTML rendering of a comment * comment AST tree dump in S-expressions like Comment::dump(), but implemented * with libclang APIs. llvm-svn: 160577
OpenPOWER on IntegriCloud