diff options
author | Valentyn Yukhymenko <valentin.yukhymenko@gmail.com> | 2025-01-25 07:01:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-25 15:01:40 +0800 |
commit | f607e3fd23ef0019b2f3b289b4d46012400b8db5 (patch) | |
tree | d729810a7f0dc76cd59b919ef1a13782f6a82496 /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | 1f26ac10ca1bef40a80be8f81a6f109713bc586f (diff) | |
download | llvm-f607e3fd23ef0019b2f3b289b4d46012400b8db5.zip llvm-f607e3fd23ef0019b2f3b289b4d46012400b8db5.tar.gz llvm-f607e3fd23ef0019b2f3b289b4d46012400b8db5.tar.bz2 |
[Clang][Sema] Reject declaring an alias template with the same name as its template parameter. (#123533)
The issue occurred because the template parameter scope was skipped
too early, before diagnosing the alias name shadowing.
To fix this, the patch moves it to after LookupName, such that the behavior
remains consistent with the typedef implementation.
Fixes llvm#123423
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions