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:
Rafael Espindola 2015-05-26 20:37:36 +00:00
parent 30244cec4f
commit 8a7b4ea2ad

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: