diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2010-11-30 07:50:28 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2010-11-30 07:50:28 +0000 |
commit | aab440b2cb0e583aeaf21f08c8247456f3142a23 (patch) | |
tree | cd1d0509968551980d3b443a548cc07c2e023abb /lib/AST/Type.cpp | |
parent | f402943e6a3b2cdffaf2644191fa1c1515722eea (diff) |
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
Diffstat (limited to 'lib/AST/Type.cpp')
-rw-r--r-- | lib/AST/Type.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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. |