From 696d7226d6699ebe0535fe1cccc070fd8b1dd6ce Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Wed, 19 Dec 2012 17:17:09 +0000 Subject: [PATCH] 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. llvm-svn: 170563 --- clang/lib/AST/CommentParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/AST/CommentParser.cpp b/clang/lib/AST/CommentParser.cpp index 403e3d7..7113f14 100644 --- a/clang/lib/AST/CommentParser.cpp +++ b/clang/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(), -- 2.7.4