diff options
Diffstat (limited to 'lib/AST/CommentSema.cpp')
-rw-r--r-- | lib/AST/CommentSema.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AST/CommentSema.cpp b/lib/AST/CommentSema.cpp index 6a8b32cee3..0903372f8f 100644 --- a/lib/AST/CommentSema.cpp +++ b/lib/AST/CommentSema.cpp @@ -417,7 +417,7 @@ unsigned Sema::correctTypoInParmVarReference( // TODO: tablegen bool Sema::isBlockCommand(StringRef Name) { return llvm::StringSwitch<bool>(Name) - .Case("brief", true) + .Cases("brief", "short", true) .Case("result", true) .Case("return", true) .Case("returns", true) @@ -437,7 +437,7 @@ bool Sema::isParamCommand(StringRef Name) { unsigned Sema::getBlockCommandNumArgs(StringRef Name) { return llvm::StringSwitch<unsigned>(Name) - .Case("brief", 0) + .Cases("brief", "short", 0) .Case("pre", 0) .Case("post", 0) .Case("author", 0) |