diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2012-12-19 17:17:09 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2012-12-19 17:17:09 +0000 |
commit | 696d7226d6699ebe0535fe1cccc070fd8b1dd6ce (patch) | |
tree | 343e66981f7f753cf70c6f46fa9d4446c4c2b187 /clang/lib/AST/CommentParser.cpp | |
parent | ae9d8aeb2bef2a8a5c6e35cdaecdffb7f5e081ad (diff) | |
download | bcm5719-llvm-696d7226d6699ebe0535fe1cccc070fd8b1dd6ce.tar.gz bcm5719-llvm-696d7226d6699ebe0535fe1cccc070fd8b1dd6ce.zip |
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
Diffstat (limited to 'clang/lib/AST/CommentParser.cpp')
-rw-r--r-- | clang/lib/AST/CommentParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/CommentParser.cpp b/clang/lib/AST/CommentParser.cpp index 403e3d7b2c3..7113f140eb7 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(), |