summaryrefslogtreecommitdiff
path: root/bindings/xml
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2012-10-02 20:05:47 +0000
committerFariborz Jahanian <fjahanian@apple.com>2012-10-02 20:05:47 +0000
commit2a46533633441176e93b484739a0a27e07150b63 (patch)
treed9b7377c86f3fa1d5eb3e752a9be6ad04477324b /bindings/xml
parent180d9d98fb51c7f6719d56a73bfd09400502986c (diff)
downloadclang-2a46533633441176e93b484739a0a27e07150b63.tar.gz
[Doc parsing]: Add available and deprecated attribute info
to XML output. // rdar://12378879 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165039 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings/xml')
-rw-r--r--bindings/xml/comment-xml-schema.rng22
1 files changed, 19 insertions, 3 deletions
diff --git a/bindings/xml/comment-xml-schema.rng b/bindings/xml/comment-xml-schema.rng
index 1a2eb16441..4197bc83a5 100644
--- a/bindings/xml/comment-xml-schema.rng
+++ b/bindings/xml/comment-xml-schema.rng
@@ -82,6 +82,12 @@
<zeroOrMore>
<ref name="Availability" />
</zeroOrMore>
+ <zeroOrMore>
+ <ref name="Deprecated" />
+ </zeroOrMore>
+ <zeroOrMore>
+ <ref name="Unavailable" />
+ </zeroOrMore>
<optional>
<ref name="ResultDiscussion" />
</optional>
@@ -313,13 +319,23 @@
</element>
</optional>
<optional>
- <element name="Unavailable">
- <data type="boolean" />
- </element>
+ <ref name="Unavailable" />
</optional>
</element>
</define>
+ <define name="Deprecated">
+ <element name="Deprecated">
+ <data type="boolean" />
+ </element>
+ </define>
+
+ <define name="Unavailable">
+ <element name="Unavailable">
+ <data type="boolean" />
+ </element>
+ </define>
+
<define name="Abstract">
<element name="Abstract">
<zeroOrMore>