[cfe-commits] r160481 - /cfe/trunk/lib/AST/CommentSema.cpp
Dmitri Gribenko
gribozavr at gmail.com
Wed Jul 18 17:21:03 PDT 2012
Author: gribozavr
Date: Wed Jul 18 19:21:03 2012
New Revision: 160481
URL: http://llvm.org/viewvc/llvm-project?rev=160481&view=rev
Log:
CommentSema: add more inline commands to tables
Modified:
cfe/trunk/lib/AST/CommentSema.cpp
Modified: cfe/trunk/lib/AST/CommentSema.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/CommentSema.cpp?rev=160481&r1=160480&r2=160481&view=diff
==============================================================================
--- cfe/trunk/lib/AST/CommentSema.cpp (original)
+++ cfe/trunk/lib/AST/CommentSema.cpp Wed Jul 18 19:21:03 2012
@@ -447,8 +447,9 @@
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);
}
More information about the cfe-commits
mailing list