[cfe-dev] clang and gcc implement __PRETTY_FUNCTION__ differently
Joerg Sonnenberger
joerg at britannica.bec.de
Sun Dec 18 07:07:31 PST 2011
On Sun, Dec 18, 2011 at 03:38:41PM +0100, Nikola Smiljanic wrote:
> clang + patch:
> const char* foo(int) [T = int]
>
> potential formatting (gcc msvc hybrid):
> const char *foo<T = int>(T)
Either form is fine with me, but please make sure to eliminate unused
templates from the output. That's my biggest issue with GCC.
Joerg
More information about the cfe-dev
mailing list