[compiler-rt] r202297 - Reapply r201910. MSVC gets __func__ defined explicitly, even though it

Joerg Sonnenberger joerg at britannica.bec.de
Wed Feb 26 13:39:05 PST 2014


On Wed, Feb 26, 2014 at 01:19:27PM -0800, Reid Kleckner wrote:
>  You said __FUNCTION__ has weird semantics.  Can you elaborate on the
> downsides?

It is a string literal. Unlike a real __func__, it is elligible for
string concat etc.

Joerg



More information about the llvm-commits mailing list