From 5182687026c13198dc8e8c94be3fd7fbb699032b Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Thu, 11 Jun 2015 22:12:24 +0000 Subject: [PATCH] [Orc] Remove some unnecesary includes and whitespace that slipped in to r239561. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239564 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/ExecutionEngine/Orc/LogicalDylib.h | 3 --- tools/lli/OrcLazyJIT.h | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/include/llvm/ExecutionEngine/Orc/LogicalDylib.h b/include/llvm/ExecutionEngine/Orc/LogicalDylib.h index f58c089acb4..28700ef347d 100644 --- a/include/llvm/ExecutionEngine/Orc/LogicalDylib.h +++ b/include/llvm/ExecutionEngine/Orc/LogicalDylib.h @@ -14,9 +14,6 @@ #ifndef LLVM_EXECUTIONENGINE_ORC_LOGICALDYLIB_H #define LLVM_EXECUTIONENGINE_ORC_LOGICALDYLIB_H -#include "llvm/ADT/iterator.h" -#include "llvm/ADT/Optional.h" - namespace llvm { namespace orc { diff --git a/tools/lli/OrcLazyJIT.h b/tools/lli/OrcLazyJIT.h index cd48d5f9247..2919c082420 100644 --- a/tools/lli/OrcLazyJIT.h +++ b/tools/lli/OrcLazyJIT.h @@ -91,11 +91,10 @@ public: auto Resolver = std::shared_ptr( orc::createLambdaResolver( - [this](const std::string &Name) { + [this](const std::string &Name) { if (auto Sym = CODLayer.findSymbol(Name, true)) return RuntimeDyld::SymbolInfo(Sym.getAddress(), Sym.getFlags()); - if (auto Sym = CXXRuntimeOverrides.searchOverrides(Name)) return Sym; -- 2.34.1