diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2013-11-12 22:16:08 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2013-11-12 22:16:08 +0000 |
commit | f6785e3117c0ce447e4d70065e069a9dc031f14c (patch) | |
tree | 6c2e81fa2886507f8cdb887616f6600eaf146703 /bindings | |
parent | 610616c279681aa195cdf63b6472bc811e7d75a0 (diff) | |
download | clang-f6785e3117c0ce447e4d70065e069a9dc031f14c.tar.gz |
Documentation parsing: add support for \throws \throw \exception commands
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194521 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings')
-rw-r--r-- | bindings/xml/comment-xml-schema.rng | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/bindings/xml/comment-xml-schema.rng b/bindings/xml/comment-xml-schema.rng index 13cf7addec..a8913a360b 100644 --- a/bindings/xml/comment-xml-schema.rng +++ b/bindings/xml/comment-xml-schema.rng @@ -75,7 +75,6 @@ <optional> <ref name="USR" /> </optional> - <!-- TODO: Add exception specification. --> <optional> <ref name="Headerfile" /> </optional> @@ -91,6 +90,9 @@ <optional> <ref name="Parameters" /> </optional> + <optional> + <ref name="Exceptions" /> + </optional> <zeroOrMore> <ref name="Availability" /> </zeroOrMore> @@ -440,6 +442,14 @@ </element> </define> + <define name="Exceptions"> + <element name="Exceptions"> + <oneOrMore> + <ref name="TextBlockContent" /> + </oneOrMore> + </element> + </define> + <define name="Availability"> <element name="Availability"> <attribute name="distribution"> |