From: Lang Hames Date: Tue, 24 Mar 2015 04:07:28 +0000 (+0000) Subject: [Orc] Whitespace fix. NFC. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=cac4b37ed879acc76805320cef50b5f6b60575b1 [Orc] Whitespace fix. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233048 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h b/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h index fe7eafce43d..ac5fccfcd4d 100644 --- a/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h +++ b/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h @@ -48,10 +48,10 @@ private: if (auto GV = searchGVs(Name, ExportedSymbolsOnly)) { // Create a std::string version of Name to capture here - the argument // (a StringRef) may go away before the lambda is executed. - // FIXME: Use capture-init when we move to C++14. + // FIXME: Use capture-init when we move to C++14. std::string PName = Name; JITSymbolFlags Flags = JITSymbolBase::flagsFromGlobalValue(*GV); - auto GetAddress = + auto GetAddress = [this, ExportedSymbolsOnly, PName, &B]() -> TargetAddress { if (this->EmitState == Emitting) return 0;