]> granicus.if.org Git - clang/commitdiff
CommentSema: add more inline commands to tables
authorDmitri Gribenko <gribozavr@gmail.com>
Thu, 19 Jul 2012 00:21:03 +0000 (00:21 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Thu, 19 Jul 2012 00:21:03 +0000 (00:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160481 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/CommentSema.cpp

index 0903372f8f9a3d5cd44612bb9ca291f0e5a334a9..3d8635fb19dbb8d7a323be6f3e2adef7857a1603 100644 (file)
@@ -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);
 }