[all-commits] [llvm/llvm-project] 861273: [clang][ASTImporter][StructuralEquivalence] improv...
Qizhi Hu via All-commits
all-commits at lists.llvm.org
Fri Jan 5 04:53:17 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 86127305d4602801ba7ffdc74377ed67b18819ac
https://github.com/llvm/llvm-project/commit/86127305d4602801ba7ffdc74377ed67b18819ac
Author: Qizhi Hu <836744285 at qq.com>
Date: 2024-01-05 (Fri, 05 Jan 2024)
Changed paths:
M clang/lib/AST/ASTStructuralEquivalence.cpp
M clang/unittests/AST/StructuralEquivalenceTest.cpp
Log Message:
-----------
[clang][ASTImporter][StructuralEquivalence] improve StructuralEquivalence on recordType (#76226)
Types comparison in `StructuralEquivalence` ignores its `DeclContext`
when they are generated by template specialization implicitly and this
will produce incorrect result. Add comparison of `DeclContext` of
ClassTemplateSpecializationDecl to improve result.
fix [issue](https://github.com/llvm/llvm-project/issues/65913)
Co-authored-by: huqizhi <836744285 at qq.com>
More information about the All-commits
mailing list