diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-01-09 17:48:41 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-01-09 17:48:41 +0000 |
commit | 719e53f64637c5ac41aac0c711e1977487ffc0d7 (patch) | |
tree | 240da89fe39a444fbd93c44ab78e48bccdd36e67 /lib | |
parent | abe75ef905626d00358427a7a3c59480c1f03361 (diff) |
Suppress GCC -Wreturn warning.
Modified from a patch by David Greene.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171982 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/AST/ASTContext.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp index dc398f36ec..046b18712c 100644 --- a/lib/AST/ASTContext.cpp +++ b/lib/AST/ASTContext.cpp @@ -4870,6 +4870,7 @@ static char getObjCEncodingForPrimitiveKind(const ASTContext *C, #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) { |