diff options
author | Balázs Kéri <balazs.keri@ericsson.com> | 2024-11-13 09:25:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-13 09:25:22 +0100 |
commit | 7a1fdbb9c0f3becdbe539f0518d182f56a9f99f8 (patch) | |
tree | 5b93012bb07a76a02094a206dd1dfbcbbc0528c7 /clang/unittests/Frontend/CompilerInvocationTest.cpp | |
parent | 5a12881514f9f70b24ad402f440f598bcad53cfb (diff) | |
download | llvm-7a1fdbb9c0f3becdbe539f0518d182f56a9f99f8.zip llvm-7a1fdbb9c0f3becdbe539f0518d182f56a9f99f8.tar.gz llvm-7a1fdbb9c0f3becdbe539f0518d182f56a9f99f8.tar.bz2 |
[clang][AST] Add 'IgnoreTemplateParmDepth' to structural equivalence cache (#115518)
Structural equivalence check uses a cache to store already found
non-equivalent values. This cache can be reused for calls (ASTImporter
does this). Value of "IgnoreTemplateParmDepth" can have an effect on the
structural equivalence therefore it is wrong to reuse the same cache for
checks with different values of 'IgnoreTemplateParmDepth'. The current
change adds the 'IgnoreTemplateParmDepth' to the cache key to fix the
problem.
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions