summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-06-18 03:57:25 +0000
committerCraig Topper <craig.topper@gmail.com>2014-06-18 03:57:25 +0000
commit0039f3f0607702f2d16d60addff74c67869e2144 (patch)
treef0e7d7946bef3b7904a8557774836bd23c55b174 /clang/lib
parentc7193c48d9d7e44e9fd0c39205e8b7cfbf5d5458 (diff)
downloadbcm5719-llvm-0039f3f0607702f2d16d60addff74c67869e2144.tar.gz
bcm5719-llvm-0039f3f0607702f2d16d60addff74c67869e2144.zip
Replace some assert(0)'s with llvm_unreachable.
llvm-svn: 211139
Diffstat (limited to 'clang/lib')
-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