From: Dmitri Gribenko Date: Thu, 19 Jul 2012 00:21:03 +0000 (+0000) Subject: CommentSema: add more inline commands to tables X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c48dd8e7b4f6f273a0dd482f800323e4ed02f7fc;p=clang CommentSema: add more inline commands to tables git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160481 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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(Name) - .Case("c", true) - .Case("em", true) + .Case("b", true) + .Cases("c", "p", true) + .Cases("a", "e", "em", true) .Default(false); }