diff options
author | Matt Beaumont-Gay <matthewbg@google.com> | 2012-02-02 18:35:35 +0000 |
---|---|---|
committer | Matt Beaumont-Gay <matthewbg@google.com> | 2012-02-02 18:35:35 +0000 |
commit | 248bc72737797c34d22f7d0fce34d87339b7c1ea (patch) | |
tree | bba71d49f10c9ff503f812af7e67683388a97a73 /clang/lib | |
parent | ff7692a867baca64ee3a249e6387ae039fdc531a (diff) | |
download | bcm5719-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.cpp | 1 |
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 |