summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/JSONNodeDumper.cpp
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/lib/AST/JSONNodeDumper.cpp
parent2947da9ff7d1a1c1d0356ac51405e6576d8fbf64 (diff)
downloadbcm5719-llvm-be1a9b3863b6649ef64f25c22394335c47f2ef31.tar.gz
bcm5719-llvm-be1a9b3863b6649ef64f25c22394335c47f2ef31.zip
[Wdocumentation] Implement \anchor
Differential revision: https://reviews.llvm.org/D69223
Diffstat (limited to 'clang/lib/AST/JSONNodeDumper.cpp')
-rw-r--r--clang/lib/AST/JSONNodeDumper.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/AST/JSONNodeDumper.cpp b/clang/lib/AST/JSONNodeDumper.cpp
index 40c6c8375a6..c30b07137ed 100644
--- a/clang/lib/AST/JSONNodeDumper.cpp
+++ b/clang/lib/AST/JSONNodeDumper.cpp
@@ -1518,6 +1518,9 @@ void JSONNodeDumper::visitInlineCommandComment(
case comments::InlineCommandComment::RenderMonospaced:
JOS.attribute("renderKind", "monospaced");
break;
+ case comments::InlineCommandComment::RenderAnchor:
+ JOS.attribute("renderKind", "anchor");
+ break;
}
llvm::json::Array Args;
OpenPOWER on IntegriCloud