[clang] [clang][AST] Add 'IgnoreTemplateParmDepth' to structural equivalence cache (PR #115518)

Balázs Kéri via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 8 09:11:12 PST 2024


balazske wrote:

Another possible solution: Use two `NonEquivalentDecls` sets, one for `IgnoreTemplateParmDepth` = true and one for false. This may use less memory (no rarely used third value in the key) but requires more code changes. Probably use these two caches only in `ASTImporter` where the correct one can be passed to `StructuralEquivalenceContext`.

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


More information about the cfe-commits mailing list