mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-10-09 04:14:11 +00:00
[PM] Fix a compile error with GCC. NFC.
llvm-svn: 279228
This commit is contained in:
parent
db1759ace1
commit
5dbc90a8f1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user