aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/CommentSema.cpp
diff options
context:
space:
mode:
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);
}