From: Dmitri Gribenko Date: Wed, 18 Jul 2012 00:44:55 +0000 (+0000) Subject: CommentSema: \short is the same as \brief. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d3d22c74b6fd8cfa65d27b982f027636a8d4025;p=clang CommentSema: \short is the same as \brief. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160414 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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(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(Name) - .Case("brief", 0) + .Cases("brief", "short", 0) .Case("pre", 0) .Case("post", 0) .Case("author", 0)