]> granicus.if.org Git - clang/commit
MS intrinsics: don't declare __readeflags and __writeeflags in Intrin.h
authorHans Wennborg <hans@hanshq.net>
Wed, 12 Mar 2014 21:09:03 +0000 (21:09 +0000)
committerHans Wennborg <hans@hanshq.net>
Wed, 12 Mar 2014 21:09:03 +0000 (21:09 +0000)
commitda85304aee5402f49d4ba36603a40153e989bd18
tree87193d6454231e6c9ecf228687d0a6b318c5af6f
parent07cdaf54b0678548b578063229ba37eb79200ee1
MS intrinsics: don't declare __readeflags and __writeeflags in Intrin.h

They're already defined in ia32intrin.h, and this would cause including Intrin.h
in 64-bit mode to fail because of conflicting types. Update ms-intrin.cpp to
also run in 64-bit mode to catch things like this.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203714 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/Intrin.h
test/Headers/ms-intrin.cpp