[cfe-commits] r171982 - /cfe/trunk/lib/AST/ASTContext.cpp
David Blaikie
dblaikie at gmail.com
Wed Jan 9 09:48:41 PST 2013
Author: dblaikie
Date: Wed Jan 9 11:48:41 2013
New Revision: 171982
URL: http://llvm.org/viewvc/llvm-project?rev=171982&view=rev
Log:
Suppress GCC -Wreturn warning.
Modified from a patch by David Greene.
Modified:
cfe/trunk/lib/AST/ASTContext.cpp
Modified: cfe/trunk/lib/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTContext.cpp?rev=171982&r1=171981&r2=171982&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ASTContext.cpp (original)
+++ cfe/trunk/lib/AST/ASTContext.cpp Wed Jan 9 11:48:41 2013
@@ -4870,6 +4870,7 @@
#include "clang/AST/BuiltinTypes.def"
llvm_unreachable("invalid builtin type for @encode");
}
+ llvm_unreachable("invalid BuiltinType::Kind value");
}
static char ObjCEncodingForEnumType(const ASTContext *C, const EnumType *ET) {
More information about the cfe-commits
mailing list