]> granicus.if.org Git - clang/commit
[modules] Make the tweak to avoid circular inclusion of emmintrin.h and
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 21 Apr 2016 01:46:37 +0000 (01:46 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 21 Apr 2016 01:46:37 +0000 (01:46 +0000)
commitfed477dddae307654c917032bf7e3da38382cd47
tree77f17df1c03cff2424a02794b1f8efdb6573d7bf
parent1bea3707f03723f4d87ad2e05df55878f2e6f657
[modules] Make the tweak to avoid circular inclusion of emmintrin.h and
xmmintrin.h a bit more directed. If for whatever reason modules are enabled but
we textually include one of these headers, don't deploy the special case for
modules. To make this work cleanly, extend __building_module to be defined
even when modules is disabled.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@266945 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/xmmintrin.h
lib/Lex/PPMacroExpansion.cpp