From: Matt Beaumont-Gay Date: Thu, 16 Feb 2012 22:15:50 +0000 (+0000) Subject: Pacify gcc's -Wreturn-type X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ebc6af1279178e1d5f4dcd9f1bbf0f06d89e3a53;p=clang Pacify gcc's -Wreturn-type git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150731 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/ExprCXX.cpp b/lib/AST/ExprCXX.cpp index 718010b81e..f52f881050 100644 --- a/lib/AST/ExprCXX.cpp +++ b/lib/AST/ExprCXX.cpp @@ -120,6 +120,7 @@ SourceLocation CXXNewExpr::getEndLoc() const { case ListInit: return getInitializer()->getSourceRange().getEnd(); } + llvm_unreachable("bogus initialization style"); } // CXXDeleteExpr