Covers significantly more code in the template template pack argument
test and fixes the resulting assert problem.
Details
Details
Diff Detail
Diff Detail
Event Timeline
test/SemaTemplate/temp_arg_template.cpp | ||
---|---|---|
80 | It would be good if we tested for some specific behavior here other than "don't crash" (doing anything other than crashing is a bit underspecified) - maybe we should be testing that N has the right value? (don't have quite enough context on the fix itself to sign off on it though, unfortunately :/) |
test/SemaTemplate/temp_arg_template.cpp | ||
---|---|---|
80 | Done. |
Comment Actions
This looks good. getAsTemplateOrTemplatePattern mirrors the existing switch in TreeTransform.
It would be good if we tested for some specific behavior here other than "don't crash" (doing anything other than crashing is a bit underspecified) - maybe we should be testing that N has the right value?
(don't have quite enough context on the fix itself to sign off on it though, unfortunately :/)