Remove obsolete variable as discovered in post-commit review.
llvm-svn: 182796
This commit is contained in:
parent
20cd8b6114
commit
12eba0a699
|
@ -627,7 +627,6 @@ void UnwrappedLineParser::parseBracedList() {
|
||||||
|
|
||||||
// FIXME: Once we have an expression parser in the UnwrappedLineParser,
|
// FIXME: Once we have an expression parser in the UnwrappedLineParser,
|
||||||
// replace this by using parseAssigmentExpression() inside.
|
// replace this by using parseAssigmentExpression() inside.
|
||||||
bool StartOfExpression = true;
|
|
||||||
do {
|
do {
|
||||||
// FIXME: When we start to support lambdas, we'll want to parse them away
|
// 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
|
// here, otherwise our bail-out scenarios below break. The better solution
|
||||||
|
@ -635,7 +634,6 @@ void UnwrappedLineParser::parseBracedList() {
|
||||||
switch (FormatTok->Tok.getKind()) {
|
switch (FormatTok->Tok.getKind()) {
|
||||||
case tok::l_brace:
|
case tok::l_brace:
|
||||||
parseBracedList();
|
parseBracedList();
|
||||||
StartOfExpression = false;
|
|
||||||
break;
|
break;
|
||||||
case tok::r_brace:
|
case tok::r_brace:
|
||||||
nextToken();
|
nextToken();
|
||||||
|
@ -645,11 +643,9 @@ void UnwrappedLineParser::parseBracedList() {
|
||||||
return;
|
return;
|
||||||
case tok::comma:
|
case tok::comma:
|
||||||
nextToken();
|
nextToken();
|
||||||
StartOfExpression = true;
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
nextToken();
|
nextToken();
|
||||||
StartOfExpression = false;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} while (!eof());
|
} while (!eof());
|
||||||
|
|
Loading…
Reference in New Issue