[llvm] [LTO] Turn ImportMapTy into a proper class (NFC) (PR #105748)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 22 21:50:55 PDT 2024


================
@@ -102,7 +102,39 @@ class FunctionImporter {
   /// elsewhere, typically by the in-memory ModuleSummaryIndex the importing
   /// decisions are made from (the module path for each summary is owned by the
   /// index's module path string table).
-  using ImportMapTy = DenseMap<StringRef, FunctionsToImportTy>;
+  class ImportMapTy {
+  public:
+    using ImportMapTyImpl = DenseMap<StringRef, FunctionsToImportTy>;
+
+    enum class AddDefinitionStatus {
+      NoChange,
----------------
kazutakahirata wrote:

Done.

https://github.com/llvm/llvm-project/pull/105748


More information about the llvm-commits mailing list