From: Matt Beaumont-Gay Date: Fri, 27 Jan 2012 00:46:27 +0000 (+0000) Subject: Placate gcc's -Wreturn-type X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba4be25c90566f5f214c2ad0364840c5a04ba651;p=clang Placate gcc's -Wreturn-type git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149104 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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.