forked from OSchip/llvm-project
[Polly] Fix -Wunused-lambda-capture
This commit is contained in:
parent
89e257bd62
commit
564788ddce
polly/lib/Support
|
@ -616,7 +616,10 @@ createScopAnalyses(FunctionAnalysisManager &FAM,
|
|||
PassInstrumentationCallbacks *PIC) {
|
||||
OwningScopAnalysisManagerFunctionProxy Proxy;
|
||||
#define SCOP_ANALYSIS(NAME, CREATE_PASS) \
|
||||
Proxy.getManager().registerPass([PIC] { return CREATE_PASS; });
|
||||
Proxy.getManager().registerPass([PIC] { \
|
||||
(void)PIC; \
|
||||
return CREATE_PASS; \
|
||||
});
|
||||
#include "PollyPasses.def"
|
||||
|
||||
Proxy.getManager().registerPass(
|
||||
|
|
Loading…
Reference in New Issue