[Orc] Move Orc code into a namespace (llvm::orc), update Kaleidoscope code.
[oota-llvm.git] / include / llvm / ExecutionEngine / Orc / LookasideRTDyldMM.h
index dd49c94dccaf064cf7ff1d3c8d48b60594828216..4456404565654f6b8af850f685834fd8dc83dfe8 100644 (file)
@@ -20,6 +20,7 @@
 #include <vector>
 
 namespace llvm {
+namespace orc {
 
 /// @brief Defines an adapter for RuntimeDyldMM that allows lookups for external
 ///        symbols to go via a functor, before falling back to the lookup logic
@@ -84,6 +85,8 @@ createLookasideRTDyldMM(ExternalLookupFtor &&ExternalLookup,
       std::forward<ExternalLookupFtor>(ExternalLookup),
       std::forward<DylibLookupFtor>(DylibLookup));
 }
-}
+
+} // End namespace orc.
+} // End namespace llvm.
 
 #endif // LLVM_EXECUTIONENGINE_ORC_LOOKASIDERTDYLDMM_H