From 4b0a4ee507a112fb77554b828c4fe4e14f19d13d Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Wed, 8 Jan 2014 23:26:53 +0000 Subject: [PATCH] Attempting a fix the build bots should be happier with. Amends 198804. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198805 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Parse/Parser.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/clang/Parse/Parser.h b/include/clang/Parse/Parser.h index 611c69e933..38eb31dad4 100644 --- a/include/clang/Parse/Parser.h +++ b/include/clang/Parse/Parser.h @@ -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 -- 2.40.0