[llvm-commits] [llvm] r172156 - /llvm/trunk/include/llvm/Support/Compiler.h
Krzysztof Parzyszek
kparzysz at codeaurora.org
Fri Jan 11 11:38:00 PST 2013
On 1/11/2013 1:31 PM, Joerg Sonnenberger wrote:
>
> Again, what are you trying to do? If you want to emulate __func__ on
> MSVC, just do the above. There is no reason to abstract this for the
> sake of a single compiler. It is unnecessary churn.
"#define __xyx" is a Bad Idea for any xyz.
Once MSVC starts defining __func__, you may get a compiler error when
you try to compile existing code.
-Krzysztof
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the llvm-commits
mailing list