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

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 11 05:21:16 PDT 2016


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.

Joerg


More information about the llvm-commits mailing list