From b4583e3dd06ea49e8da362f4f3369f8baba6da8e Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Wed, 8 Jan 2014 23:08:41 +0000 Subject: [PATCH] Silencing an MSVC warning about control reaching the end of a non-void function. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198804 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Parse/Parser.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/clang/Parse/Parser.h b/include/clang/Parse/Parser.h index e1609c3999..611c69e933 100644 --- a/include/clang/Parse/Parser.h +++ b/include/clang/Parse/Parser.h @@ -1654,6 +1654,8 @@ 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: -- 2.50.0