mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-23 11:38:38 +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);
|
NMD->addOperand(N);
|
||||||
} while (EatIfPresent(lltok::comma));
|
} while (EatIfPresent(lltok::comma));
|
||||||
|
|
||||||
if (ParseToken(lltok::rbrace, "expected end of metadata node"))
|
return ParseToken(lltok::rbrace, "expected end of metadata node");
|
||||||
return true;
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// ParseStandaloneMetadata:
|
/// ParseStandaloneMetadata:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user