From 82579da8890fcbfb1f4660eb5de74352afe1e60f Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Thu, 26 Jan 2017 08:31:14 +0000 Subject: Chapter3/KaleidoscopeJIT.h: Fix a warning. [-Wunused-lambda-capture] "this", aka class members, is not referred in the body. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293159 91177308-0d34-0410-b5e6-96231b3b80d8 --- examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h b/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h index 5ecc869f80f..eefe6a551fa 100644 --- a/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h +++ b/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({&F}); }, + [](Function &F) { return std::set({&F}); }, *CompileCallbackManager, orc::createLocalIndirectStubsManagerBuilder( TM->getTargetTriple())) { -- cgit v1.2.3