diff options
author | Mark de Wever <koraq@xs4all.nl> | 2019-12-21 14:47:52 +0100 |
---|---|---|
committer | Mark de Wever <koraq@xs4all.nl> | 2019-12-21 14:52:21 +0100 |
commit | be1a9b3863b6649ef64f25c22394335c47f2ef31 (patch) | |
tree | 7361e0687b0b0b6b09712811029c2efde448764f /clang/lib/AST/CommentSema.cpp | |
parent | 2947da9ff7d1a1c1d0356ac51405e6576d8fbf64 (diff) | |
download | llvm-be1a9b3863b6649ef64f25c22394335c47f2ef31.zip llvm-be1a9b3863b6649ef64f25c22394335c47f2ef31.tar.gz llvm-be1a9b3863b6649ef64f25c22394335c47f2ef31.tar.bz2 |
[Wdocumentation] Implement \anchor
Differential revision: https://reviews.llvm.org/D69223
Diffstat (limited to 'clang/lib/AST/CommentSema.cpp')
-rw-r--r-- | clang/lib/AST/CommentSema.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/CommentSema.cpp b/clang/lib/AST/CommentSema.cpp index dda31e9..53c1832 100644 --- a/clang/lib/AST/CommentSema.cpp +++ b/clang/lib/AST/CommentSema.cpp @@ -1143,6 +1143,7 @@ Sema::getInlineCommandRenderKind(StringRef Name) const { .Case("b", InlineCommandComment::RenderBold) .Cases("c", "p", InlineCommandComment::RenderMonospaced) .Cases("a", "e", "em", InlineCommandComment::RenderEmphasized) + .Case("anchor", InlineCommandComment::RenderAnchor) .Default(InlineCommandComment::RenderNormal); } |