[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...
Size: 6945 bytes
Desc: not available
More information about the cfe-commits