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:
parent
63e5ba19e8
commit
84e886354e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user