-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Clang] Accepts invalid alias template with the same name as its template parameter #123423
Comments
@llvm/issue-subscribers-clang-frontend Author: None (MagentaTreehouse)
```c++
template <class T>
using T = int;
```
This is rejected by GCC, MSVC and EDG. |
Confirmed, violates this rule. |
Hi folks! I am interested in solving this issue, but I haven't contributed anything to the upstream Clang project yet and I see that this issue is not marked as a "good first issue". However, I do have some basic experience with building, testing, and changing some experimental fork of Clang. Is it fine for me to pick up this task or do you have other processes and expectations in Clang project? P.S. Sorry for noob question :) |
Of course! In addition of the code change you should provide
I hope this help |
Thank you! I will look on this issue |
…template parameter. Fixes llvm#123423
…template parameter. Fixes llvm#123423
This is rejected by GCC, MSVC and EDG.
See https://compiler-explorer.com/z/6a5jWGn4s.
The text was updated successfully, but these errors were encountered: