================
@@ -62,7 +62,8 @@ class TypeSourceInfo;
   class ASTImporter {
     friend class ASTNodeImporter;
   public:
-    using NonEquivalentDeclSet = llvm::DenseSet<std::pair<Decl *, Decl *>>;
+    using NonEquivalentDeclSet =
+        llvm::DenseSet<std::tuple<Decl *, Decl *, int>>;
----------------
NagyDonat wrote:

```suggestion
    using NonEquivalentDeclSet =
        std::array<llvm::DenseSet<std::pair<Decl *, Decl *>>, 2>;
```
If you use two `DenseSet`s and put them into an array, you can use them without 
significant code changes.

https://github.com/llvm/llvm-project/pull/115518
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to