diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-18 00:44:55 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-07-18 00:44:55 +0000 |
commit | 3d3d22c74b6fd8cfa65d27b982f027636a8d4025 (patch) | |
tree | 1c4312b29c15841f57aaf4c31d14a994cb4e91cb | |
parent | b251302dd52249c49ba6527fcd013396deef22cf (diff) |
CommentSema: \short is the same as \brief.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160414 91177308-0d34-0410-b5e6-96231b3b80d8
-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) |