aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/CommentParser.cpp
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-12-19 17:17:09 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-12-19 17:17:09 +0000
commiteb34db715f1130ad7793fc0cc50c8191c2157c53 (patch)
tree4c27fdc486785670f071f03eeda15d8271d69a2c /lib/AST/CommentParser.cpp
parent4547fb55370b80f468fec19903ecb4a5cfd6d734 (diff)
Comment parsing: add a missing 'else'. Found by inspection.
No testcase because we were just building an extra AST node and eventually throwing it away, so it did not affect correctness. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@170563 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/CommentParser.cpp')
-rw-r--r--lib/AST/CommentParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/CommentParser.cpp b/lib/AST/CommentParser.cpp
index 403e3d7b2c..7113f140eb 100644
--- a/lib/AST/CommentParser.cpp
+++ b/lib/AST/CommentParser.cpp
@@ -318,7 +318,7 @@ BlockCommandComment *Parser::parseBlockCommand() {
PC = S.actOnParamCommandStart(Tok.getLocation(),
Tok.getEndLocation(),
Tok.getCommandID());
- } if (Info->IsTParamCommand) {
+ } else if (Info->IsTParamCommand) {
IsTParam = true;
TPC = S.actOnTParamCommandStart(Tok.getLocation(),
Tok.getEndLocation(),