[all-commits] [llvm/llvm-project] 72ac90: [C++20] [Modules] Use the canonical decl when gett...
Chuanqi Xu via All-commits
all-commits at lists.llvm.org
Wed Jun 21 02:01:51 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 72ac90715876e2963af899cbb883bad1e07b67bd
https://github.com/llvm/llvm-project/commit/72ac90715876e2963af899cbb883bad1e07b67bd
Author: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: 2023-06-21 (Wed, 21 Jun 2023)
Changed paths:
M clang/lib/Sema/SemaConcept.cpp
A clang/test/Modules/pr62943.cppm
Log Message:
-----------
[C++20] [Modules] Use the canonical decl when getting associated constraints
Close https://github.com/llvm/llvm-project/issues/62943.
The root cause for the issue is that we think the associated constraints
from the 'same' declaration in different module units are different
incorrectly. Since the constraints doesn't know anything about decls and
modules, we should fix the problem by getting the associated constraints
from the exactly the same declarations from different modules.
More information about the All-commits
mailing list