1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Simplify boolean conditional return statements.

Patch by Richard <legalize@xmission.com>.

llvm-svn: 238250
This commit is contained in:
Rafael Espindola 2015-05-26 20:37:36 +00:00
parent 63e5ba19e8
commit 84e886354e

View File

@ -564,10 +564,7 @@ bool LLParser::ParseNamedMetadata() {
NMD->addOperand(N);
} while (EatIfPresent(lltok::comma));
if (ParseToken(lltok::rbrace, "expected end of metadata node"))
return true;
return false;
return ParseToken(lltok::rbrace, "expected end of metadata node");
}
/// ParseStandaloneMetadata: