diff options
author | Daniel Jasper <djasper@google.com> | 2013-05-28 19:11:43 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-05-28 19:11:43 +0000 |
commit | 12eba0a6997c20c89b4af73ff1a7cf4affb3d5cd (patch) | |
tree | ceeb56b63e0bec3e1fe6d28ce2e501ea0050014d | |
parent | 20cd8b61141ab4f7a83526792cb712647ea24c2f (diff) | |
download | bcm5719-llvm-12eba0a6997c20c89b4af73ff1a7cf4affb3d5cd.tar.gz bcm5719-llvm-12eba0a6997c20c89b4af73ff1a7cf4affb3d5cd.zip |
Remove obsolete variable as discovered in post-commit review.
llvm-svn: 182796
-rw-r--r-- | clang/lib/Format/UnwrappedLineParser.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Format/UnwrappedLineParser.cpp b/clang/lib/Format/UnwrappedLineParser.cpp index f20e109ba70..341952bb726 100644 --- a/clang/lib/Format/UnwrappedLineParser.cpp +++ b/clang/lib/Format/UnwrappedLineParser.cpp @@ -627,7 +627,6 @@ void UnwrappedLineParser::parseBracedList() { // FIXME: Once we have an expression parser in the UnwrappedLineParser, // replace this by using parseAssigmentExpression() inside. - bool StartOfExpression = true; do { // FIXME: When we start to support lambdas, we'll want to parse them away // here, otherwise our bail-out scenarios below break. The better solution @@ -635,7 +634,6 @@ void UnwrappedLineParser::parseBracedList() { switch (FormatTok->Tok.getKind()) { case tok::l_brace: parseBracedList(); - StartOfExpression = false; break; case tok::r_brace: nextToken(); @@ -645,11 +643,9 @@ void UnwrappedLineParser::parseBracedList() { return; case tok::comma: nextToken(); - StartOfExpression = true; break; default: nextToken(); - StartOfExpression = false; break; } } while (!eof()); |