aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Sema/SemaExpr.cpp')
-rw-r--r--lib/Sema/SemaExpr.cpp1
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