From: Chandler Carruth Date: Fri, 5 Feb 2010 07:38:55 +0000 (+0000) Subject: Revert the unused TST_pixel entry from r95335 as it is not listed in the Sema X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8047f17ff15ff85bfcfc666a2979a77d8af5a4ae;p=clang Revert the unused TST_pixel entry from r95335 as it is not listed in the Sema switch, triggering warnings. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95381 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/Specifiers.h b/include/clang/Basic/Specifiers.h index 3b60b689ae..9e54762add 100644 --- a/include/clang/Basic/Specifiers.h +++ b/include/clang/Basic/Specifiers.h @@ -46,7 +46,6 @@ namespace clang { TST_decimal32, // _Decimal32 TST_decimal64, // _Decimal64 TST_decimal128, // _Decimal128 - TST_pixel, // AltiVec TST_enum, TST_union, TST_struct, diff --git a/include/clang/Parse/DeclSpec.h b/include/clang/Parse/DeclSpec.h index c3fc952bdd..4fe81a7eb5 100644 --- a/include/clang/Parse/DeclSpec.h +++ b/include/clang/Parse/DeclSpec.h @@ -113,7 +113,6 @@ public: static const TST TST_decimal32 = clang::TST_decimal32; static const TST TST_decimal64 = clang::TST_decimal64; static const TST TST_decimal128 = clang::TST_decimal128; - static const TST TST_pixel = clang::TST_pixel; static const TST TST_enum = clang::TST_enum; static const TST TST_union = clang::TST_union; static const TST TST_struct = clang::TST_struct; diff --git a/lib/Parse/DeclSpec.cpp b/lib/Parse/DeclSpec.cpp index 0f1063eb3c..4a699e7ad5 100644 --- a/lib/Parse/DeclSpec.cpp +++ b/lib/Parse/DeclSpec.cpp @@ -192,7 +192,6 @@ const char *DeclSpec::getSpecifierName(DeclSpec::TST T) { case DeclSpec::TST_decimal32: return "_Decimal32"; case DeclSpec::TST_decimal64: return "_Decimal64"; case DeclSpec::TST_decimal128: return "_Decimal128"; - case DeclSpec::TST_pixel: return "__pixel"; case DeclSpec::TST_enum: return "enum"; case DeclSpec::TST_class: return "class"; case DeclSpec::TST_union: return "union";