Attempting a fix the build bots should be happier with. Amends 198804.
authorAaron Ballman <aaron@aaronballman.com>
Wed, 8 Jan 2014 23:26:53 +0000 (23:26 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 8 Jan 2014 23:26:53 +0000 (23:26 +0000)
llvm-svn: 198805

clang/include/clang/Parse/Parser.h

index 611c69e..38eb31d 100644 (file)
@@ -1654,8 +1654,6 @@ private:
   /// trailing-type-specifier)?
   static bool isTypeSpecifier(DeclSpecContext DSC) {
     switch (DSC) {
-    default:
-      llvm_unreachable("Missing DeclSpecContext case");
     case DSC_normal:
     case DSC_class:
     case DSC_top_level:
@@ -1666,6 +1664,7 @@ private:
     case DSC_alias_declaration:
       return true;
     }
+    llvm_unreachable("Missing DeclSpecContext case");
   }
 
   /// Information on a C++0x for-range-initializer found while parsing a