aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/CommentSema.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-07-19 00:21:03 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-07-19 00:21:03 +0000
commitc48dd8e7b4f6f273a0dd482f800323e4ed02f7fc (patch)
tree0555069f0b19e4ba2998f10c495a33f5f8393825 /lib/AST/CommentSema.cpp
parent858e69fe1305bdffb76a200c0f498685f11e65ae (diff)
CommentSema: add more inline commands to tables
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160481 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/CommentSema.cpp')
-rw-r--r--lib/AST/CommentSema.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/AST/CommentSema.cpp b/lib/AST/CommentSema.cpp
index 0903372f8f..3d8635fb19 100644
--- a/lib/AST/CommentSema.cpp
+++ b/lib/AST/CommentSema.cpp
@@ -447,8 +447,9 @@ unsigned Sema::getBlockCommandNumArgs(StringRef Name) {
bool Sema::isInlineCommand(StringRef Name) {
return llvm::StringSwitch<bool>(Name)
- .Case("c", true)
- .Case("em", true)
+ .Case("b", true)
+ .Cases("c", "p", true)
+ .Cases("a", "e", "em", true)
.Default(false);
}