[ORC] Make JITDylib::AsynchronousSymbolQuerySet private.
authorLang Hames <lhames@gmail.com>
Sat, 20 Nov 2021 05:12:23 +0000 (21:12 -0800)
committerLang Hames <lhames@gmail.com>
Sat, 20 Nov 2021 05:15:18 +0000 (21:15 -0800)
This type does not need to be public

llvm/include/llvm/ExecutionEngine/Orc/Core.h

index 70256c1..362e8ab 100644 (file)
@@ -927,9 +927,6 @@ class JITDylib : public ThreadSafeRefCountedBase<JITDylib>,
   friend class MaterializationResponsibility;
 public:
 
-  using AsynchronousSymbolQuerySet =
-    std::set<std::shared_ptr<AsynchronousSymbolQuery>>;
-
   JITDylib(const JITDylib &) = delete;
   JITDylib &operator=(const JITDylib &) = delete;
   JITDylib(JITDylib &&) = delete;
@@ -1067,6 +1064,9 @@ public:
   std::vector<JITDylibSP> getReverseDFSLinkOrder();
 
 private:
+  using AsynchronousSymbolQuerySet =
+    std::set<std::shared_ptr<AsynchronousSymbolQuery>>;
+
   using AsynchronousSymbolQueryList =
       std::vector<std::shared_ptr<AsynchronousSymbolQuery>>;