diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-01-26 08:31:14 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2017-01-26 08:31:14 +0000 |
| commit | 949d54ebd9668e738e6548a17decf3ff5212a4af (patch) | |
| tree | 43424d92777e9a8257a08a620f211e642066c4c3 /llvm/examples | |
| parent | 05078de912fe487373f9ce49b11db98c6d9c476d (diff) | |
| download | bcm5719-llvm-949d54ebd9668e738e6548a17decf3ff5212a4af.tar.gz bcm5719-llvm-949d54ebd9668e738e6548a17decf3ff5212a4af.zip | |
Chapter3/KaleidoscopeJIT.h: Fix a warning. [-Wunused-lambda-capture]
"this", aka class members, is not referred in the body.
llvm-svn: 293159
Diffstat (limited to 'llvm/examples')
| -rw-r--r-- | llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h index 5ecc869f80f..eefe6a551fa 100644 --- a/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h +++ b/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h @@ -70,7 +70,7 @@ public: CompileCallbackManager( orc::createLocalCompileCallbackManager(TM->getTargetTriple(), 0)), CODLayer(OptimizeLayer, - [this](Function &F) { return std::set<Function*>({&F}); }, + [](Function &F) { return std::set<Function*>({&F}); }, *CompileCallbackManager, orc::createLocalIndirectStubsManagerBuilder( TM->getTargetTriple())) { |

