]> granicus.if.org Git - clang/commit
PR14964: intrinsic headers using non-reserved identifiers
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 16 Jan 2013 23:08:36 +0000 (23:08 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 16 Jan 2013 23:08:36 +0000 (23:08 +0000)
commit4f918aed75d4927e88365541c7200f0b5fe5014b
treec960065380a908489a5704b7284a63c6cb4ebf6b
parentd329724745b49f894b768d47275b7c2713106e89
PR14964: intrinsic headers using non-reserved identifiers

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
12 files changed:
lib/Headers/altivec.h
lib/Headers/avx2intrin.h
lib/Headers/avxintrin.h
lib/Headers/cpuid.h
lib/Headers/emmintrin.h
lib/Headers/f16cintrin.h
lib/Headers/mm_malloc.h
lib/Headers/pmmintrin.h
lib/Headers/smmintrin.h
lib/Headers/tmmintrin.h
lib/Headers/unwind.h
lib/Headers/xmmintrin.h