[cfe-commits] r160414 - /cfe/trunk/lib/AST/CommentSema.cpp
Dmitri Gribenko
gribozavr at gmail.com
Tue Jul 17 17:44:55 PDT 2012
Author: gribozavr
Date: Tue Jul 17 19:44:55 2012
New Revision: 160414
URL: http://llvm.org/viewvc/llvm-project?rev=160414&view=rev
Log:
CommentSema: \short is the same as \brief.
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=160414&r1=160413&r2=160414&view=diff
==============================================================================
--- cfe/trunk/lib/AST/CommentSema.cpp (original)
+++ cfe/trunk/lib/AST/CommentSema.cpp Tue Jul 17 19:44:55 2012
@@ -417,7 +417,7 @@
// 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 @@
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)
More information about the cfe-commits
mailing list