summaryrefslogtreecommitdiff
path: root/clang/bindings
diff options
context:
space:
mode:
authorMark de Wever <koraq@xs4all.nl>2019-12-21 14:47:52 +0100
committerMark de Wever <koraq@xs4all.nl>2019-12-21 14:52:21 +0100
commitbe1a9b3863b6649ef64f25c22394335c47f2ef31 (patch)
tree7361e0687b0b0b6b09712811029c2efde448764f /clang/bindings
parent2947da9ff7d1a1c1d0356ac51405e6576d8fbf64 (diff)
downloadllvm-be1a9b3863b6649ef64f25c22394335c47f2ef31.tar.gz
[Wdocumentation] Implement \anchor
Differential revision: https://reviews.llvm.org/D69223
Diffstat (limited to 'clang/bindings')
-rw-r--r--clang/bindings/xml/comment-xml-schema.rng8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/bindings/xml/comment-xml-schema.rng b/clang/bindings/xml/comment-xml-schema.rng
index 43f3e54c2863..65ea597ed70c 100644
--- a/clang/bindings/xml/comment-xml-schema.rng
+++ b/clang/bindings/xml/comment-xml-schema.rng
@@ -579,6 +579,14 @@
<param name="pattern">.*\S.*</param>
</data>
</element>
+ <element name="anchor">
+ <attribute name="id">
+ <data type="string">
+ <!-- Non-empty text content without whitespace. -->
+ <param name="pattern">\S+</param>
+ </data>
+ </attribute>
+ </element>
<element name="rawHTML">
<optional>
<!-- If not specified, the default value is 'false'. -->