summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
-rw-r--r--clang/lib/Sema/SemaChecking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp
index d43713f60c1..869296ad842 100644
--- a/clang/lib/Sema/SemaChecking.cpp
+++ b/clang/lib/Sema/SemaChecking.cpp
@@ -5385,7 +5385,7 @@ static void DiagnoseOutOfRangeComparison(Sema &S, BinaryOperator *E,
// comparisons will be tautological.
EqualityOnly = true;
} else { // OtherSigned && ConstantSigned
- assert(0 && "Two signed types converted to unsigned types.");
+ llvm_unreachable("Two signed types converted to unsigned types.");
}
}
OpenPOWER on IntegriCloud