mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-01 03:33:42 +00:00
Simplify boolean conditional return statements.
Patch by Richard <legalize@xmission.com>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238250 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
30244cec4f
commit
8a7b4ea2ad
@ -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…
x
Reference in New Issue
Block a user