[PATCH] D22774: [MSVC] Add ARM support to intrin.h for MSVC compatibility

Saleem Abdulrasool via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 1 17:30:43 PDT 2016


compnerd added inline comments.

================
Comment at: lib/Headers/armintr.h:26
@@ +25,3 @@
+#ifndef _MSC_VER
+#include_next <armintr.h>
+#else
----------------
Hmm, why not do __has_header instead?  armv7-windows-itanium won't define `_MSC_VER` but you may have the header from the SDK.


https://reviews.llvm.org/D22774





More information about the cfe-commits mailing list