================ @@ -39,6 +39,10 @@ enum class StructuralEquivalenceKind { }; struct StructuralEquivalenceContext { + /// Store declaration pairs already found to be non-equivalent. + /// key: (from, to, IgnoreTemplateParmDepth) + using NonEquivalentDeclSet = llvm::DenseSet<std::tuple<Decl *, Decl *, int>>; ---------------- NagyDonat wrote:
```suggestion using NonEquivalentDeclSet = std::array<llvm::DenseSet<std::pair<Decl *, Decl *>>, 2>; ``` As above. 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