diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2012-10-17 21:58:03 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2012-10-17 21:58:03 +0000 |
commit | 1bfb00dabf83d8c8b95b7276b4c0ae3fd64832c8 (patch) | |
tree | 6da011bab01450d4f467948bdc61b9c55b021ed8 /bindings | |
parent | 20d928164a6263edb558fdccae6e73988cf4ae7d (diff) |
[Doc parsing]: This patch adds <Declaration> tag to
XML comment for declarations which pretty-prints
declaration. 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 wreck
havoc to the test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/xml/comment-xml-schema.rng | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/bindings/xml/comment-xml-schema.rng b/bindings/xml/comment-xml-schema.rng index af1a3d8308..d98f405cf9 100644 --- a/bindings/xml/comment-xml-schema.rng +++ b/bindings/xml/comment-xml-schema.rng @@ -25,6 +25,9 @@ <ref name="USR" /> </optional> <optional> + <ref name="Declaration" /> + </optional> + <optional> <ref name="Abstract" /> </optional> <optional> @@ -71,6 +74,9 @@ </optional> <!-- TODO: Add exception specification. --> <optional> + <ref name="Declaration" /> + </optional> + <optional> <ref name="Abstract" /> </optional> <optional> @@ -115,6 +121,9 @@ <ref name="USR" /> </optional> <optional> + <ref name="Declaration" /> + </optional> + <optional> <ref name="Abstract" /> </optional> <optional> @@ -144,6 +153,9 @@ <ref name="USR" /> </optional> <optional> + <ref name="Declaration" /> + </optional> + <optional> <ref name="Abstract" /> </optional> @@ -174,6 +186,9 @@ <ref name="USR" /> </optional> <optional> + <ref name="Declaration" /> + </optional> + <optional> <ref name="Abstract" /> </optional> @@ -204,6 +219,9 @@ <ref name="USR" /> </optional> <optional> + <ref name="Declaration" /> + </optional> + <optional> <ref name="Abstract" /> </optional> @@ -234,6 +252,9 @@ <ref name="USR" /> </optional> <optional> + <ref name="Declaration" /> + </optional> + <optional> <ref name="Abstract" /> </optional> @@ -301,6 +322,13 @@ </element> </define> + <define name="Declaration"> + <element name="Declaration"> + <!-- Non-empty text content. --> + <data type="string"/> + </element> + </define> + <define name="Discussion"> <element name="Discussion"> <zeroOrMore> |