[llvm] r278170 - Add a platform independent version of __PRETTY_FUNCTION__.

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 11 05:23:12 PDT 2016


2016-08-11 14:21 GMT+02:00 Joerg Sonnenberger via llvm-commits
<llvm-commits at lists.llvm.org>:
> On Wed, Aug 10, 2016 at 10:17:22PM +0000, Zachary Turner wrote:
>> __GNUC__ will be defined for GCC but __clang__ will not, right?
>
> clang defines both, GCC only the former. So checking for the former
> covers both.

Does clang define __GNUC__ even in Microsoft mode?


More information about the llvm-commits mailing list