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/Sema/SemaExceptionSpec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/Sema/SemaExceptionSpec.cpp') diff --git a/clang/lib/Sema/SemaExceptionSpec.cpp b/clang/lib/Sema/SemaExceptionSpec.cpp index 65bed3a205e..aba7b349773 100644 --- a/clang/lib/Sema/SemaExceptionSpec.cpp +++ b/clang/lib/Sema/SemaExceptionSpec.cpp @@ -223,7 +223,7 @@ bool Sema::CheckEquivalentExceptionSpec(FunctionDecl *Old, FunctionDecl *New) { break; default: - assert(false && "This spec type is compatible with none."); + llvm_unreachable("This spec type is compatible with none."); } OS.flush(); -- cgit v1.2.3