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 | 4f7dcdbdfc50a244c3f3ca66f15b0b39a56f8f64 (patch) | |
tree | e048b4d94be2aba870361363a0279e60d486330c /lib/Sema/SemaExpr.cpp | |
parent | 6a9a6d22d73ffb7cf311df036ad4a305c4fea65a (diff) |
Pacify gcc's -Wreturn-type
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExpr.cpp')
-rw-r--r-- | lib/Sema/SemaExpr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 |