[cfe-commits] r120409 - /cfe/trunk/lib/AST/Type.cpp
Nick Lewycky
nicholas at mxc.ca
Mon Nov 29 23:50:28 PST 2010
Author: nicholas
Date: Tue Nov 30 01:50:28 2010
New Revision: 120409
URL: http://llvm.org/viewvc/llvm-project?rev=120409&view=rev
Log:
Take John McCall's suggestion and fix this silly gcc warnings in a way that
Doug isn't likely to rip back out.
Modified:
cfe/trunk/lib/AST/Type.cpp
Modified: cfe/trunk/lib/AST/Type.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Type.cpp?rev=120409&r1=120408&r2=120409&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Type.cpp (original)
+++ cfe/trunk/lib/AST/Type.cpp Tue Nov 30 01:50:28 2010
@@ -995,6 +995,8 @@
case ObjCClass: return "Class";
case ObjCSel: return "SEL";
}
+ llvm_unreachable("Invalid builtin type.");
+ return 0;
}
void FunctionType::ANCHOR() {} // Key function for FunctionType.
More information about the cfe-commits
mailing list