diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-04-28 15:48:45 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-04-28 15:48:45 +0000 |
commit | bfad9150bfa894195a43c5f487117672a449f90f (patch) | |
tree | 598371ef3e2841b9ba60aef20ab8cbdf3147d0a4 /lib/Sema/SemaOverload.cpp | |
parent | bd1d16a1792cd6ea5ede9869e18d781e3fc1a8c3 (diff) |
libstdc++ 4.4 uses __is_signed as an identifier, while Clang treats it
as a keyword for the __is_signed type trait. Cope with this conflict
via some hackish recovery: if we see a declaration of the form
static const bool __is_signed
then we stop treating __is_signed as a keyword and instead treat it as
an identifier. It's ugly, but it's better than making the __is_signed
type trait conditional on some language flag. Fixes PR9804.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130399 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaOverload.cpp')
0 files changed, 0 insertions, 0 deletions