[C++20] [Modules] Try to treat B<A>
and B<NS::A>
as the same type in using declarations
#63595
Labels
clang:modules
C++20 modules and Clang Header Modules
This comes from https://reviews.llvm.org/D153003 and revealed by @zygoloid.
The reproducer:
The explanation is: [temp.type]/1.4 (http://eel.is/c++draft/temp.type#1.4)
so
B<A>
andB<NS::A>
are the same type. The stricter "same sequence of tokens" rule doesn't apply here, because using-declarations are not definitions.The text was updated successfully, but these errors were encountered: