diff options
| author | Balázs Kéri <1.int32@gmail.com> | 2023-03-03 08:46:06 +0100 |
|---|---|---|
| committer | Balázs Kéri <1.int32@gmail.com> | 2023-03-03 09:16:43 +0100 |
| commit | 27ab138c69fc61b22ef898a0f4d0f5c9bad649bd (patch) | |
| tree | 3b5f142572a82f630e5939ea17eaebdc94eacc68 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
| parent | be437f3bb8b657f4d2de4603734f24daa624d204 (diff) | |
| download | llvm-27ab138c69fc61b22ef898a0f4d0f5c9bad649bd.zip llvm-27ab138c69fc61b22ef898a0f4d0f5c9bad649bd.tar.gz llvm-27ab138c69fc61b22ef898a0f4d0f5c9bad649bd.tar.bz2 | |
[clang][ASTImporter] Import TemplateName correctly
This is a fix for a problem when multiple template
specializations are created by ASTImporter for the
same specialization. The problem happens if a
TemplateName is imported that points to a template
delcaration (for a template template argument)
(specialization) that has multiple instances in the
declaration chain. If two TemplateName objects contain
different pointers to a template specialization,
these TemplateName objects will have different checksum
even if they point into the same declaration chain.
The problem is fixed if the canonical declaration is used.
Reviewed By: vabridgers, donat.nagy
Differential Revision: https://reviews.llvm.org/D144622
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions
