diff options
Diffstat (limited to 'llvm/unittests/IR/PassManagerTest.cpp')
-rw-r--r-- | llvm/unittests/IR/PassManagerTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/IR/PassManagerTest.cpp b/llvm/unittests/IR/PassManagerTest.cpp index 8031c85a4cf..47fb8b70f1b 100644 --- a/llvm/unittests/IR/PassManagerTest.cpp +++ b/llvm/unittests/IR/PassManagerTest.cpp @@ -378,8 +378,8 @@ TEST_F(PassManagerTest, CustomizedPassManagerArgs) { // Add an instance of the customized pass that just accumulates the input // after it is round-tripped through the analysis. int Result = 0; - PM.addPass(CustomizedPass::CustomizedPass( - [](CustomizedAnalysis::Result &R, int &O) { O += R.I; })); + PM.addPass( + CustomizedPass([](CustomizedAnalysis::Result &R, int &O) { O += R.I; })); // Run this over every function with the input of 42. for (Function &F : *M) |