We used to trigger assertion when transforming c-tor with unparsed
default argument. Now we ignore such constructors for this purpose.
Details
Details
- Reviewers
hokein - Commits
- rG4e1c487004a2: [clang] Fix crash when creating deduction guide.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks!
clang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp | ||
---|---|---|
425 | The diagnostic seems bogus, but I think it is at least better than crashing, I'd add add a FIXME to fix this bogus diagnostic here?. |
Comment Actions
expanded a comment
clang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp | ||
---|---|---|
425 | I added a line about improving the diagnostic. I'm a bit hesitant to leave a FIXME, since it doesn't seem like something actually worth spending time on. Just a weird corner case on broken code. |
The diagnostic seems bogus, but I think it is at least better than crashing, I'd add add a FIXME to fix this bogus diagnostic here?.