diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-07-30 07:01:49 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-07-30 07:01:49 +0000 |
commit | df445f0ae14ea156912ddc52a5b10d45664af425 (patch) | |
tree | 2e52af1638ed894eb251d75cec9e2526e76bf0cb /clang/lib/Parse/ParseDeclCXX.cpp | |
parent | 2c595adf2e8aa74232b5b7b6820e0f93d7353632 (diff) | |
download | bcm5719-llvm-df445f0ae14ea156912ddc52a5b10d45664af425.tar.gz bcm5719-llvm-df445f0ae14ea156912ddc52a5b10d45664af425.zip |
Turn off __has_feature(is_empty) and __has_feature(is_pod) if the
libstdc++ hack has reverted these type traits to keywords. Icky, but
fixes <rdar://problem/9836262>.
llvm-svn: 136560
Diffstat (limited to 'clang/lib/Parse/ParseDeclCXX.cpp')
-rw-r--r-- | clang/lib/Parse/ParseDeclCXX.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Parse/ParseDeclCXX.cpp b/clang/lib/Parse/ParseDeclCXX.cpp index 0da743f2a90..344a433792c 100644 --- a/clang/lib/Parse/ParseDeclCXX.cpp +++ b/clang/lib/Parse/ParseDeclCXX.cpp @@ -901,7 +901,7 @@ void Parser::ParseClassSpecifier(tok::TokenKind TagTokKind, Tok.is(tok::kw___is_signed) || Tok.is(tok::kw___is_unsigned) || Tok.is(tok::kw___is_void))) { - // GNU libstdc++ 4.2 and libc++ uaw certain intrinsic names as the + // GNU libstdc++ 4.2 and libc++ use certain intrinsic names as the // name of struct templates, but some are keywords in GCC >= 4.3 // and Clang. Therefore, when we see the token sequence "struct // X", make X into a normal identifier rather than a keyword, to |