If a default template type argument is manually specified to be of the default type, then it is committed when printing the template.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/test/SemaTemplate/class-template-id.cpp | ||
---|---|---|
12–14 | FWIW, looks like this was a reduction in quality - printing the value of the default argument in these error messages, when omitting it was probably desirable? & doesn't seem to be a necessary consequence of the patch description's goals. |
clang/test/SemaTemplate/class-template-id.cpp | ||
---|---|---|
12–14 | Nevermind - I was looking at the parameter types, not the return type. I see the return type is written out more explicitly, so it makes sense that that fuller name be rendered in the message too. |
FWIW, looks like this was a reduction in quality - printing the value of the default argument in these error messages, when omitting it was probably desirable?
& doesn't seem to be a necessary consequence of the patch description's goals.