]> granicus.if.org Git - clang/commit
libclang API for comment-to-xml conversion.
authorDmitri Gribenko <gribozavr@gmail.com>
Tue, 7 Aug 2012 17:54:38 +0000 (17:54 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Tue, 7 Aug 2012 17:54:38 +0000 (17:54 +0000)
commitf303d4cb10648ac9c2080ae7c9dd507ba615e3a7
treef0cd0e787fcfce0ca1ba3324b2b715147ce26d94
parentcff863fd803874d251ef8725d5c08dec90924627
libclang API for comment-to-xml conversion.

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!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161431 91177308-0d34-0410-b5e6-96231b3b80d8
43 files changed:
CMakeLists.txt
bindings/xml/comment-xml-schema.rng [new file with mode: 0644]
include/clang-c/Index.h
test/Index/Inputs/CommentXML/invalid-function-01.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/invalid-function-02.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/invalid-function-03.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/invalid-function-04.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/invalid-function-05.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/invalid-function-06.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/invalid-function-07.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/invalid-function-08.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/invalid-function-09.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/invalid-function-10.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/invalid-function-11.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/invalid-function-12.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/valid-class-01.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/valid-class-02.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/valid-class-03.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/valid-class-04.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/valid-function-01.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/valid-function-02.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/valid-function-03.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/valid-function-04.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/valid-function-05.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/valid-function-06.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/valid-function-07.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/valid-function-08.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/valid-function-09.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/valid-function-10.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/valid-namespace-01.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/valid-other-01.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/valid-typedef-01.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/valid-typedef-02.xml [new file with mode: 0644]
test/Index/Inputs/CommentXML/valid-variable-01.xml [new file with mode: 0644]
test/Index/annotate-comments.cpp
test/Index/comment-xml-schema.c [new file with mode: 0644]
test/Sema/warn-documentation.cpp
test/lit.cfg
tools/c-index-test/CMakeLists.txt
tools/c-index-test/Makefile
tools/c-index-test/c-index-test.c
tools/libclang/CXComment.cpp
tools/libclang/libclang.exports