[llvm-commits] [llvm] r172156 - /llvm/trunk/include/llvm/Support/Compiler.h

Joerg Sonnenberger joerg at britannica.bec.de
Fri Jan 11 12:42:20 PST 2013


On Fri, Jan 11, 2013 at 02:39:46PM -0600, Krzysztof Parzyszek wrote:
> On 1/11/2013 2:34 PM, Joerg Sonnenberger wrote:
> >
> >So *test* for the presence before enabling it in config.h.
> 
> And if it's not there, then do what?  "#define __func__ xxx"?

If __FUNCTION__ is supported, use that. Otherwise define it to
"<unknown>".

Joerg



More information about the llvm-commits mailing list