Skip to content

Commit d177eb0

Browse files
committed
braces
1 parent 62d0203 commit d177eb0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/lib/IR/Verifier.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5488,11 +5488,12 @@ void Verifier::visitInstruction(Instruction &I) {
54885488
visitMDNode(*N, AreDebugLocsAllowed::Yes);
54895489

54905490
if (auto *DL = dyn_cast<DILocation>(N)) {
5491-
if (DL->getAtomGroup())
5491+
if (DL->getAtomGroup()) {
54925492
CheckDI(DL->getScope()->getSubprogram()->getKeyInstructionsEnabled(),
54935493
"DbgLoc uses atomGroup but DISubprogram doesn't have Key "
54945494
"Instructions enabled",
54955495
DL, DL->getScope()->getSubprogram());
5496+
}
54965497
}
54975498
}
54985499

0 commit comments

Comments
 (0)