summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorMatt Beaumont-Gay <matthewbg@google.com>2012-02-02 18:35:35 +0000
committerMatt Beaumont-Gay <matthewbg@google.com>2012-02-02 18:35:35 +0000
commit248bc72737797c34d22f7d0fce34d87339b7c1ea (patch)
treebba71d49f10c9ff503f812af7e67683388a97a73 /clang/lib
parentff7692a867baca64ee3a249e6387ae039fdc531a (diff)
downloadbcm5719-llvm-248bc72737797c34d22f7d0fce34d87339b7c1ea.tar.gz
bcm5719-llvm-248bc72737797c34d22f7d0fce34d87339b7c1ea.zip
Pacify gcc's -Wreturn-type
llvm-svn: 149610
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Sema/SemaExpr.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaExpr.cpp b/clang/lib/Sema/SemaExpr.cpp
index 3862286f9cc..87dc7609025 100644
--- a/clang/lib/Sema/SemaExpr.cpp
+++ b/clang/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
OpenPOWER on IntegriCloud