diff options
| author | Alp Toker <alp@nuanti.com> | 2013-11-26 01:30:10 +0000 |
|---|---|---|
| committer | Alp Toker <alp@nuanti.com> | 2013-11-26 01:30:10 +0000 |
| commit | d8a96a63a331f5486e88ade9f98195b9ef44c954 (patch) | |
| tree | 3d9621896e67cca96028861c7319983d92ec7907 /lib/CodeGen/CGClass.cpp | |
| parent | 9a3700283b0f4cabfd149919ece5767fe5cc5d9e (diff) | |
| download | clang-d8a96a63a331f5486e88ade9f98195b9ef44c954.tar.gz clang-d8a96a63a331f5486e88ade9f98195b9ef44c954.tar.bz2 clang-d8a96a63a331f5486e88ade9f98195b9ef44c954.tar.xz | |
Unbreak -fms-extensions with GNU libc headers
GNU libc uses '__uptr' as a member name in C mode, conflicting with the
eponymous MSVC pointer modifier keyword.
Detect and mark the token as an identifier when these specific conditions are
met. __uptr will continue to work as a keyword for the remainder of the
translation unit.
Fixes PR17824.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195710 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGClass.cpp')
0 files changed, 0 insertions, 0 deletions
