[Clang] Accepts invalid alias template with the same name as its template parameter
template <class T>
using T = int;
This is rejected by GCC, MSVC and EDG.
See https://compiler-explorer.com/z/6a5jWGn4s.
@llvm/issue-subscribers-clang-frontend
Author: None (MagentaTreehouse)
This is rejected by GCC, MSVC and EDG.
See https://compiler-explorer.com/z/6a5jWGn4s.
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 :)
Is it fine for me to pick up this task?
Of course! Here is some documentation https://llvm.org/docs/Contributing.html
In addition of the code change you should provide
- A sufficiently detailed description/commit message
- Tests (in
clang/tests) - A release note in
clang/docs/ReleaseNotes.rstunder "bug fixes to c++ support"
I hope this help
Thank you!
I will look on this issue