r182796 - Remove obsolete variable as discovered in post-commit review.

Daniel Jasper djasper at google.com
Tue May 28 12:11:43 PDT 2013


Author: djasper
Date: Tue May 28 14:11:43 2013
New Revision: 182796

URL: http://llvm.org/viewvc/llvm-project?rev=182796&view=rev
Log:
Remove obsolete variable as discovered in post-commit review.

Modified:
    cfe/trunk/lib/Format/UnwrappedLineParser.cpp

Modified: cfe/trunk/lib/Format/UnwrappedLineParser.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/UnwrappedLineParser.cpp?rev=182796&r1=182795&r2=182796&view=diff
==============================================================================
--- cfe/trunk/lib/Format/UnwrappedLineParser.cpp (original)
+++ cfe/trunk/lib/Format/UnwrappedLineParser.cpp Tue May 28 14:11:43 2013
@@ -627,7 +627,6 @@ void UnwrappedLineParser::parseBracedLis
 
   // 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::parseBracedLis
     switch (FormatTok->Tok.getKind()) {
     case tok::l_brace:
       parseBracedList();
-      StartOfExpression = false;
       break;
     case tok::r_brace:
       nextToken();
@@ -645,11 +643,9 @@ void UnwrappedLineParser::parseBracedLis
       return;
     case tok::comma:
       nextToken();
-      StartOfExpression = true;
       break;
     default:
       nextToken();
-      StartOfExpression = false;
       break;
     }
   } while (!eof());





More information about the cfe-commits mailing list