From 4f7dcdbdfc50a244c3f3ca66f15b0b39a56f8f64 Mon Sep 17 00:00:00 2001 From: Matt Beaumont-Gay Date: Thu, 2 Feb 2012 18:35:35 +0000 Subject: [PATCH] Pacify gcc's -Wreturn-type git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149610 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaExpr.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp index 3862286f9c..87dc760902 100644 --- a/lib/Sema/SemaExpr.cpp +++ b/lib/Sema/SemaExpr.cpp @@ -9495,6 +9495,7 @@ bool IsPotentiallyEvaluatedContext(Sema &SemaRef) { // containing expression is used. return false; } + llvm_unreachable("Invalid context"); } /// \brief Mark a function referenced, and check whether it is odr-used -- 2.50.1