Dmitri Gribenko
61b1db1629
Comment to XML conversion: escape XML special chars correctly; use correct
...
regex for version tuples.
llvm-svn: 165104
2012-10-03 09:04:56 +00:00
Fariborz Jahanian
e61fc44c3d
[Doc parse]: SUpport for message in deprecated/unavailable
...
attribute going iinto XML document.
llvm-svn: 165066
2012-10-02 23:01:04 +00:00
Fariborz Jahanian
de0ae1e406
[Doc parsing]: Add available and deprecated attribute info
...
to XML output. // rdar://12378879
llvm-svn: 165039
2012-10-02 20:05:47 +00:00
Fariborz Jahanian
c491c3f27a
availability in structured documents. Takes
...
care of comments by Dimitri and Doug.
llvm-svn: 164957
2012-10-01 18:42:25 +00:00
Dmitri Gribenko
261c9683e2
Comment XML schema: correct indentation.
...
llvm-svn: 164889
2012-09-29 08:27:37 +00:00
Fariborz Jahanian
35760a8937
[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://12378879
llvm-svn: 164861
2012-09-28 22:35:49 +00:00
Dmitri Gribenko
0b1a96a876
Comment to XML conversion: we try not to emit empty <Discussion> elements, but
...
it is not possible to guarantee that without duplicating logic or buffering
<Discussion> element contents. So, allow empty <Discussion> elements in schema.
llvm-svn: 163842
2012-09-13 21:32:58 +00:00
Dmitri Gribenko
6cffc1928a
Comment XML: use xml:space="preserve" in Verbatim tags, so that XML tidy does
...
not compress spaces in verbatim content.
llvm-svn: 161531
2012-08-08 22:10:24 +00:00
Dmitri Gribenko
168d23414a
Comment AST: DeclInfo: add a special kind for enums.
...
Comment XML: add a root node kind for enums.
llvm-svn: 161442
2012-08-07 18:59:04 +00:00
Dmitri Gribenko
740c0fbe0e
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!
llvm-svn: 161431
2012-08-07 17:54:38 +00:00