Page MenuHomePhabricator

[clang] Provide better fix-it on exception spec error
Needs ReviewPublic

Authored by jdemeule on Oct 27 2019, 2:03 AM.



Clang will report an error when the exception specification is not respected with a fix-it.
However, this fix-it does not fully qualify the type in case of function template specialization which lead to "incomplete" transformation (resulting code does not compile).
This patch attempts to create a more realiable in the first place by reusing the pretty printer helper defined in SemaTemplate which expand template arguments.

Diff Detail

Event Timeline

jdemeule created this revision.Oct 27 2019, 2:03 AM

Kindly ping reviewer.