From aab440b2cb0e583aeaf21f08c8247456f3142a23 Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Tue, 30 Nov 2010 07:50:28 +0000 Subject: [PATCH] Take John McCall's suggestion and fix this silly gcc warnings in a way that Doug isn't likely to rip back out. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120409 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/Type.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/AST/Type.cpp b/lib/AST/Type.cpp index 56cd4dddb5..196a4c8caa 100644 --- a/lib/AST/Type.cpp +++ b/lib/AST/Type.cpp @@ -995,6 +995,8 @@ const char *BuiltinType::getName(const LangOptions &LO) const { case ObjCClass: return "Class"; case ObjCSel: return "SEL"; } + llvm_unreachable("Invalid builtin type."); + return 0; } void FunctionType::ANCHOR() {} // Key function for FunctionType. -- 2.40.0