[PATCH] Do not define the gcc style target specific pre-defined preprocessor macros in clang-cl

Nico Weber thakis at chromium.org
Wed Jul 9 09:00:51 PDT 2014

On Wed, Jul 9, 2014 at 8:53 AM, Ehsan Akhgari <ehsan.akhgari at gmail.com>

> That's OK, the main intention behind this patch is to unbreak code that
> assumes gcc specific things based on #ifdef __i386__ and friends...
> With that in mind, does this look good to land?

This patch also removes the #error lines from all the intrinsics headers.
Did you intend that to be part of this patch? It's a good idea, but the
backend actually asserts when they are used, like David said.

> http://reviews.llvm.org/D4415
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140709/18796e7d/attachment.html>

More information about the cfe-commits mailing list