From 83d382b1cad133cb163a68dd7149fae2802275e1 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Fri, 23 Sep 2011 05:06:16 +0000 Subject: Switch assert(0/false) llvm_unreachable. llvm-svn: 140367 --- clang/lib/StaticAnalyzer/Core/SVals.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/lib/StaticAnalyzer/Core/SVals.cpp') diff --git a/clang/lib/StaticAnalyzer/Core/SVals.cpp b/clang/lib/StaticAnalyzer/Core/SVals.cpp index 8eb65baa89f..e32a3b0f539 100644 --- a/clang/lib/StaticAnalyzer/Core/SVals.cpp +++ b/clang/lib/StaticAnalyzer/Core/SVals.cpp @@ -171,7 +171,7 @@ void SVal::symbol_iterator::expand() { return; } - assert(false && "unhandled expansion case"); + llvm_unreachable("unhandled expansion case"); } const void *nonloc::LazyCompoundVal::getStore() const { @@ -369,7 +369,7 @@ void Loc::dumpToStream(raw_ostream &os) const { break; } default: - assert(false && "Pretty-printing not implemented for this Loc."); + llvm_unreachable("Pretty-printing not implemented for this Loc."); break; } } -- cgit v1.2.3