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 | c25eb5d0510dcf41b817eb60d89e69163e2b3680 (patch) | |
tree | f8c7e400b954d806483d122dcde5e619ec6784e5 | |
parent | 811c936ed5aa7daf5ee50e5274b76f79f55e6c53 (diff) | |
download | bcm5719-llvm-c25eb5d0510dcf41b817eb60d89e69163e2b3680.tar.gz bcm5719-llvm-c25eb5d0510dcf41b817eb60d89e69163e2b3680.zip |
Take John McCall's suggestion and fix this silly gcc warnings in a way that
Doug isn't likely to rip back out.
llvm-svn: 120409
-rw-r--r-- | clang/lib/AST/Type.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/AST/Type.cpp b/clang/lib/AST/Type.cpp index 56cd4dddb5c..196a4c8caa5 100644 --- a/clang/lib/AST/Type.cpp +++ b/clang/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. |