Skip to content

Commit 7c1def3

Browse files
committed
Reformat 'if' statement
1 parent 19d6fab commit 7c1def3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/lib/AsmParser/LLParser.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3207,9 +3207,8 @@ bool LLParser::parseOptionalOperandBundles(
32073207
if (Ty->isMetadataTy()) {
32083208
if (parseMetadataAsValue(Input, PFS))
32093209
return true;
3210-
} else {
3211-
if (parseValue(Ty, Input, PFS))
3212-
return true;
3210+
} else if (parseValue(Ty, Input, PFS)) {
3211+
return true;
32133212
}
32143213
Inputs.push_back(Input);
32153214
}

0 commit comments

Comments
 (0)