From bac4681dd92a6bafe358f3bffaf81354cb5ef11c Mon Sep 17 00:00:00 2001 From: Daniel Jasper Date: Tue, 28 May 2013 19:11:43 +0000 Subject: [PATCH] Remove obsolete variable as discovered in post-commit review. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182796 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Format/UnwrappedLineParser.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/Format/UnwrappedLineParser.cpp b/lib/Format/UnwrappedLineParser.cpp index f20e109ba7..341952bb72 100644 --- a/lib/Format/UnwrappedLineParser.cpp +++ b/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()); -- 2.40.0