[PATCH] D27896: Remove the feature guards from the Clang intrinsics header files.

Elad Cohen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 17 22:39:51 PST 2016

eladcohen created this revision.
eladcohen added a subscriber: cfe-commits.

These were re-introduced to get better compile times in cases that don't actually require all the features. However, it creates compatibility issues with MSVC (in which all the intrinsics are available all the time).
With Clang's Modules feature we can remove these guards and still prevent large header files from compiling over and over again.

See also the thread "clang-cl's <intrin.h>, _tzcnt_u32, and compatibility with MSVC's <intrin.h>" in cfe-dev.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27896.81873.patch
Type: text/x-patch
Size: 6945 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161218/dd2928cb/attachment.bin>

More information about the cfe-commits mailing list