diff options
Diffstat (limited to 'lib/AST/Type.cpp')
-rw-r--r-- | lib/AST/Type.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/Type.cpp b/lib/AST/Type.cpp index 56cd4dddb5..f1b6470417 100644 --- a/lib/AST/Type.cpp +++ b/lib/AST/Type.cpp @@ -965,6 +965,7 @@ const char *Type::getTypeClassName() const { const char *BuiltinType::getName(const LangOptions &LO) const { switch (getKind()) { + default: assert(0 && "Invalid builtin type!"); case Void: return "void"; case Bool: return LO.Bool ? "bool" : "_Bool"; case Char_S: return "char"; |