From 6f773e87eeb2ca04f86b1dcb98683887dfbe1ffa Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Wed, 5 Jun 2013 15:37:50 +0000 Subject: [PATCH] Silence GCC warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183317 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaInit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Sema/SemaInit.cpp b/lib/Sema/SemaInit.cpp index ab400cd11b..e04d72d9fb 100644 --- a/lib/Sema/SemaInit.cpp +++ b/lib/Sema/SemaInit.cpp @@ -5193,6 +5193,7 @@ getDeclForTemporaryLifetimeExtension(const InitializedEntity &Entity, case InitializedEntity::EK_ComplexElement: llvm_unreachable("should not materialize a temporary to initialize this"); } + llvm_unreachable("unknown entity kind"); } static void performLifetimeExtension(Expr *Init, const ValueDecl *ExtendingD);