diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-01-16 23:08:36 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-01-16 23:08:36 +0000 |
commit | 4f918aed75d4927e88365541c7200f0b5fe5014b (patch) | |
tree | c960065380a908489a5704b7284a63c6cb4ebf6b /lib/Lex/Preprocessor.cpp | |
parent | d329724745b49f894b768d47275b7c2713106e89 (diff) |
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
Diffstat (limited to 'lib/Lex/Preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions