Fixes #63119
Details
Details
- Reviewers
aaron.ballman - Group Reviewers
Restricted Project - Commits
- rGd9be8a8a990d: [Clang] Allow omitting `typename` in befriended constructors parameters
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
In the patch summary: consstructors -> constructors
Can you also add a test case to cover "unless that parameter-declaration appears in a default argument" from http://eel.is/c++draft/temp.res#general-4.3.3 ?
clang/test/CXX/temp/temp.res/p4.cpp | ||
---|---|---|
182–183 | Hmmm, I was expecting a missing 'typename' test case, so perhaps add a friend declaration that's a definition instead? |
clang/test/CXX/temp/temp.res/p4.cpp | ||
---|---|---|
182–183 | that is not possible for a constructor afaik |
Comment Actions
LGTM!
clang/test/CXX/temp/temp.res/p4.cpp | ||
---|---|---|
182–183 | Oh shoot, that's a good point. Nevermiiiiiiind. :-) |
Hmmm, I was expecting a missing 'typename' test case, so perhaps add a friend declaration that's a definition instead?