From c48dd8e7b4f6f273a0dd482f800323e4ed02f7fc Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Thu, 19 Jul 2012 00:21:03 +0000 Subject: [PATCH] CommentSema: add more inline commands to tables git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160481 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/CommentSema.cpp | 5 +++-- 1 file 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(Name) - .Case("c", true) - .Case("em", true) + .Case("b", true) + .Cases("c", "p", true) + .Cases("a", "e", "em", true) .Default(false); } -- 2.50.1