================
@@ -1804,8 +1804,10 @@ struct StructuralEquivalenceCacheTest : public
StructuralEquivalenceTest {
}
template <typename NodeType>
- bool isInNonEqCache(std::pair<NodeType *, NodeType *> D) {
- return NonEquivalentDecls.count(D) > 0;
+ bool isInNonEqCache(std::pair<NodeType *, NodeType *> D,
+ bool IgnoreTemplateParmDepth = false) {
+ return NonEquivalentDecls.count(
+ std::make_tuple(D.first, D.second, IgnoreTemplateParmDepth)) >
0;
----------------
NagyDonat wrote:
```suggestion
return NonEquivalentDecls[IgnoreTemplateParmDepth].count(D) > 0;
```
https://github.com/llvm/llvm-project/pull/115518
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits