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

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 11 12:03:27 PDT 2016


On Thu, Aug 11, 2016 at 06:35:42PM +0000, Zachary Turner wrote:
> No (just tested on windows with the cl driver and with the gcc style
> driver).  If you were to do this on Windows it wouldn't matter because that
> would be caught by the first branch #if defined(LLVM_ON_WIN32).  But you
> can run clang in Microsoft on Linux, for example.  And in that case neither
> LLVM_ON_WIN32 nor __GNUC__ would be defined.

But don't we hit the _MSC_VER case in that case?

Joerg


More information about the llvm-commits mailing list