]> granicus.if.org Git - clang/commitdiff
Remove obsolete variable as discovered in post-commit review.
authorDaniel Jasper <djasper@google.com>
Tue, 28 May 2013 19:11:43 +0000 (19:11 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 28 May 2013 19:11:43 +0000 (19:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182796 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Format/UnwrappedLineParser.cpp

index f20e109ba702769aa6651e3633da74b307510062..341952bb726d94abac63242b30d5d6ebe7f26e71 100644 (file)
@@ -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());