aboutsummaryrefslogtreecommitdiff
path: root/lib/Headers/cpuid.h
AgeCommit message (Collapse)Author
2013-04-04Add tests that build modules for our builtin headers, and fix two buglets ↵Richard Smith
exposed by doing so. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178736 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-16PR14964: intrinsic headers using non-reserved identifiersDavid Blaikie
Several of the intrinsic headers were using plain non-reserved identifiers. C++11 17.6.4.3.2 [global.names] p1 reservers names containing a double begining with an underscore followed by an uppercase letter for any use. I think I got them all, but open to being corrected. For the most part I didn't bother updating function-like macro parameter names because I don't believe they're subject to any such collission - though some function-like macros already follow this convention (I didn't update them in part because the churn was more significant as several function-like macros use the double underscore prefixed version of the same name as a parameter in their implementation) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172666 91177308-0d34-0410-b5e6-96231b3b80d8
2012-11-05Make cpuid.h actually work with -std=c99 <rdar://problem/12552716>.Douglas Gregor
While we're here, extend the module map to cover most of the newly-added instrinsic headers. Only wmmintrin.h is missing, because it needs to be split into AES/PCLMUL subheaders (as a separate commit). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167398 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-28Fix comment.Rafael Espindola
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145271 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-27Error on non x86 architectures.Rafael Espindola
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145185 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-27Fix file name in comments.Rafael Espindola
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145184 91177308-0d34-0410-b5e6-96231b3b80d8
2011-11-26Add the minimum implementation of cpuid.h. This works on "modern" intel cpusRafael Espindola
and on clang, which seams to handled "=b" correctly even when ebx is the PIC register. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145149 91177308-0d34-0410-b5e6-96231b3b80d8