Skip to content

Commit 52af23e

Browse files
committed
clang-format
1 parent 4484370 commit 52af23e

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

llvm/lib/IR/Verifier.cpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -679,10 +679,13 @@ class Verifier : public InstVisitor<Verifier>, VerifierSupport {
679679
void Verifier::visitDbgRecords(Instruction &I) {
680680
if (!I.DbgMarker)
681681
return;
682-
CheckDI(I.DbgMarker->MarkedInstr == &I, "Instruction has invalid DbgMarker", &I);
683-
CheckDI(!isa<PHINode>(&I) || !I.hasDbgValues(), "PHI Node must not have any attached DbgRecords", &I);
682+
CheckDI(I.DbgMarker->MarkedInstr == &I, "Instruction has invalid DbgMarker",
683+
&I);
684+
CheckDI(!isa<PHINode>(&I) || !I.hasDbgValues(),
685+
"PHI Node must not have any attached DbgRecords", &I);
684686
for (DPValue &DPV : DPValue::filter(I.getDbgValueRange())) {
685-
CheckDI(DPV.getMarker() == I.DbgMarker, "DbgRecord had invalid DbgMarker", &I, &DPV);
687+
CheckDI(DPV.getMarker() == I.DbgMarker, "DbgRecord had invalid DbgMarker",
688+
&I, &DPV);
686689
visit(DPV);
687690
}
688691
}
@@ -3016,7 +3019,8 @@ void Verifier::visitBasicBlock(BasicBlock &BB) {
30163019

30173020
// Confirm that no issues arise from the debug program.
30183021
if (BB.IsNewDbgInfoFormat)
3019-
CheckDI(!BB.getTrailingDPValues(), "Basic Block has trailing DbgRecords!", &BB);
3022+
CheckDI(!BB.getTrailingDPValues(), "Basic Block has trailing DbgRecords!",
3023+
&BB);
30203024
}
30213025

30223026
void Verifier::visitTerminator(Instruction &I) {

0 commit comments

Comments
 (0)