diff options
author | Matt Beaumont-Gay <matthewbg@google.com> | 2012-01-27 00:46:27 +0000 |
---|---|---|
committer | Matt Beaumont-Gay <matthewbg@google.com> | 2012-01-27 00:46:27 +0000 |
commit | ba4be25c90566f5f214c2ad0364840c5a04ba651 (patch) | |
tree | 2af96d1323829b818f47246f2972892f43430c60 /lib/CodeGen/CGDecl.cpp | |
parent | a5fde150f99acc57c6b8bc2f94de4cae7215726f (diff) |
Placate gcc's -Wreturn-type
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149104 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDecl.cpp')
-rw-r--r-- | lib/CodeGen/CGDecl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CGDecl.cpp b/lib/CodeGen/CGDecl.cpp index 018521bef8..13b9e27d5d 100644 --- a/lib/CodeGen/CGDecl.cpp +++ b/lib/CodeGen/CGDecl.cpp @@ -1166,6 +1166,7 @@ CodeGenFunction::getDestroyer(QualType::DestructionKind kind) { case QualType::DK_objc_weak_lifetime: return destroyARCWeak; } + llvm_unreachable("Unknown DestructionKind"); } /// pushDestroy - Push the standard destructor for the given type. |