]> granicus.if.org Git - clang/commit
Add libclang APIs to walk comments ASTs and an API to convert a comment to an
authorDmitri Gribenko <gribozavr@gmail.com>
Fri, 20 Jul 2012 21:34:34 +0000 (21:34 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Fri, 20 Jul 2012 21:34:34 +0000 (21:34 +0000)
commitae99b75fbbac1deaccdcc1b326b8fb6b07a1e72d
tree0824998fc8d29311746310ca98ededcf0416d4d5
parent0cfe9a1ceb8c4e60a9deb91003c04aba3ec9eade
Add libclang APIs to walk comments ASTs and an API to convert a comment to an
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160577 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/Index.h
include/clang/AST/Comment.h
include/clang/AST/CommentVisitor.h
test/Index/annotate-comments.cpp
tools/c-index-test/c-index-test.c
tools/libclang/CIndex.cpp
tools/libclang/CMakeLists.txt
tools/libclang/CXComment.cpp [new file with mode: 0644]
tools/libclang/CXComment.h [new file with mode: 0644]
tools/libclang/libclang.exports