Skip to content

Commit 46dbee9

Browse files
committed
Revert "fix build with latest LLVM"
This reverts commit 8b4cbc3.
1 parent ec8d632 commit 46dbee9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tv/tv.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,8 +705,7 @@ llvmGetPassPluginInfo() {
705705
// ClangTVFinalizePass internally checks whether we're running clang tv
706706
// and finalizes resources then.
707707
PB.registerOptimizerLastEPCallback(
708-
[](llvm::ModulePassManager &MPM, llvm::OptimizationLevel,
709-
llvm::ThinOrFullLTOPhase) {
708+
[](llvm::ModulePassManager &MPM, llvm::OptimizationLevel) {
710709
MPM.addPass(ClangTVFinalizePass());
711710
});
712711

0 commit comments

Comments
 (0)