[Orc] Remove some unnecesary includes and whitespace that slipped in to r239561.
authorLang Hames <lhames@gmail.com>
Thu, 11 Jun 2015 22:12:24 +0000 (22:12 +0000)
committerLang Hames <lhames@gmail.com>
Thu, 11 Jun 2015 22:12:24 +0000 (22:12 +0000)
NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239564 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ExecutionEngine/Orc/LogicalDylib.h
tools/lli/OrcLazyJIT.h

index f58c089acb44be061a0966cf69ca4f595a4d78ff..28700ef347d6b9316c51e89f49f3af765636ba1e 100644 (file)
@@ -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 {
 
index cd48d5f92471b6ab1bfc61c72b5885b024d23c6a..2919c082420d4d7dbdafa93d5407b6eb454a90cf 100644 (file)
@@ -91,11 +91,10 @@ public:
     auto Resolver =
       std::shared_ptr<RuntimeDyld::SymbolResolver>(
         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;