]> granicus.if.org Git - clang/commitdiff
Revert the unused TST_pixel entry from r95335 as it is not listed in the Sema
authorChandler Carruth <chandlerc@gmail.com>
Fri, 5 Feb 2010 07:38:55 +0000 (07:38 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 5 Feb 2010 07:38:55 +0000 (07:38 +0000)
switch, triggering warnings.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95381 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/Specifiers.h
include/clang/Parse/DeclSpec.h
lib/Parse/DeclSpec.cpp

index 3b60b689ae07478595de1a345cea87b7f368d99d..9e54762add7db5d799342e23b07402b658018102 100644 (file)
@@ -46,7 +46,6 @@ namespace clang {
     TST_decimal32,    // _Decimal32
     TST_decimal64,    // _Decimal64
     TST_decimal128,   // _Decimal128
-    TST_pixel,        // AltiVec
     TST_enum,
     TST_union,
     TST_struct,
index c3fc952bddd579b502df6c0ba29aaaee342f8bd7..4fe81a7eb5c27e08f1c54b24969f4e5833f5cb6d 100644 (file)
@@ -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;
index 0f1063eb3c43b813798061b788355536fec01215..4a699e7ad5e564a6598c9709605b924d03b4bf28 100644 (file)
@@ -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";