Skip to content

Commit 5e7875e

Browse files
committed
remove default constructor
1 parent 8441dc6 commit 5e7875e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

llvm/lib/CodeGen/RegAllocGreedy.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ struct RAGreedy::RequiredAnalyses {
202202
RegAllocEvictionAdvisorProvider *EvictProvider;
203203
RegAllocPriorityAdvisorProvider *PriorityProvider;
204204

205-
RequiredAnalyses() {}
205+
RequiredAnalyses() = delete;
206206
RequiredAnalyses(Pass &P);
207207
RequiredAnalyses(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM);
208208
};
@@ -1476,7 +1476,8 @@ MCRegister RAGreedy::tryBlockSplit(const LiveInterval &VirtReg,
14761476
}
14771477

14781478
if (VerifyEnabled)
1479-
MF->verify(LIS, Indexes, "After splitting live range around basic blocks", &errs());
1479+
MF->verify(LIS, Indexes, "After splitting live range around basic blocks",
1480+
&errs());
14801481
return MCRegister();
14811482
}
14821483

0 commit comments

Comments
 (0)