projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae9d8ae
)
Comment parsing: add a missing 'else'. Found by inspection.
author
Dmitri Gribenko
<gribozavr@gmail.com>
Wed, 19 Dec 2012 17:17:09 +0000
(17:17 +0000)
committer
Dmitri Gribenko
<gribozavr@gmail.com>
Wed, 19 Dec 2012 17:17:09 +0000
(17:17 +0000)
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
patch
|
blob
|
history
diff --git
a/clang/lib/AST/CommentParser.cpp
b/clang/lib/AST/CommentParser.cpp
index
403e3d7
..
7113f14
100644
(file)
--- 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(),