[cfe-commits] r120293 - /cfe/trunk/lib/AST/Type.cpp
Douglas Gregor
dgregor at apple.com
Mon Nov 29 09:45:20 PST 2010
Author: dgregor
Date: Mon Nov 29 11:45:20 2010
New Revision: 120293
URL: http://llvm.org/viewvc/llvm-project?rev=120293&view=rev
Log:
I hate default statements
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=120293&r1=120292&r2=120293&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Type.cpp (original)
+++ cfe/trunk/lib/AST/Type.cpp Mon Nov 29 11:45:20 2010
@@ -957,7 +957,6 @@
const char *BuiltinType::getName(const LangOptions &LO) const {
switch (getKind()) {
- default: assert(0 && "Unknown builtin type!");
case Void: return "void";
case Bool: return LO.Bool ? "bool" : "_Bool";
case Char_S: return "char";
More information about the cfe-commits
mailing list