[all-commits] [llvm/llvm-project] 3e78fa: [C++20] [Modules] Profile TemplateName by canonica...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Mon Mar 13 23:35:38 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3e78fa860235431323aaf08c8fa922d75a7cfffa
https://github.com/llvm/llvm-project/commit/3e78fa860235431323aaf08c8fa922d75a7cfffa
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2023-03-14 (Tue, 14 Mar 2023)
Changed paths:
M clang/include/clang/AST/TemplateName.h
M clang/lib/AST/TemplateName.cpp
A clang/test/Modules/pr61317.cppm
Log Message:
-----------
[C++20] [Modules] Profile TemplateName by canonical decl
Close https://github.com/llvm/llvm-project/issues/61317
The root cause of the problem is that we profile TemplateName by the
non-canonical decls so that the compiler thought they are two different
types. But this is not true. We fixed the issue after we profile the
template name by using the same name.
More information about the All-commits
mailing list