diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-02-24 18:10:23 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-02-24 18:10:23 +0000 |
commit | fd3da9358f740487b5a7c9dd7317c06afb7cf643 (patch) | |
tree | f46f121a02cfedc93d331f14e19513c866ceb7c8 /clang/lib/Sema/DeclSpec.cpp | |
parent | 5e6842bfea737f7f3b61ae9e1df4c618a3d25f46 (diff) | |
download | bcm5719-llvm-fd3da9358f740487b5a7c9dd7317c06afb7cf643.tar.gz bcm5719-llvm-fd3da9358f740487b5a7c9dd7317c06afb7cf643.zip |
__decltype is a GNU extension, not a C++11 extension.
llvm-svn: 151377
Diffstat (limited to 'clang/lib/Sema/DeclSpec.cpp')
-rw-r--r-- | clang/lib/Sema/DeclSpec.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Sema/DeclSpec.cpp b/clang/lib/Sema/DeclSpec.cpp index 11818f6fa24..72a51bc474c 100644 --- a/clang/lib/Sema/DeclSpec.cpp +++ b/clang/lib/Sema/DeclSpec.cpp @@ -898,8 +898,6 @@ void DeclSpec::Finish(DiagnosticsEngine &D, Preprocessor &PP) { if (TypeSpecType == TST_char16 || TypeSpecType == TST_char32) Diag(D, TSTLoc, diag::warn_cxx98_compat_unicode_type) << (TypeSpecType == TST_char16 ? "char16_t" : "char32_t"); - if (TypeSpecType == TST_decltype) - Diag(D, TSTLoc, diag::warn_cxx98_compat_decltype); if (Constexpr_specified) Diag(D, ConstexprLoc, diag::warn_cxx98_compat_constexpr); |