commit | 83d382b1cad133cb163a68dd7149fae2802275e1 | [log] [tgz] |
---|---|---|
author | David Blaikie <dblaikie@gmail.com> | Fri Sep 23 05:06:16 2011 +0000 |
committer | David Blaikie <dblaikie@gmail.com> | Fri Sep 23 05:06:16 2011 +0000 |
tree | 20f63870b2fa8c4a5b49076275bc8b60224f0edc | |
parent | 42fe6bd5f230d4c88377e24ace7a226c178dd2b4 [diff] [blame] |
Switch assert(0/false) llvm_unreachable. llvm-svn: 140367
diff --git a/clang/lib/Analysis/PrintfFormatString.cpp b/clang/lib/Analysis/PrintfFormatString.cpp index eb018f1..770cd37 100644 --- a/clang/lib/Analysis/PrintfFormatString.cpp +++ b/clang/lib/Analysis/PrintfFormatString.cpp
@@ -461,7 +461,7 @@ HasAlternativeForm = 0; HasPlusPrefix = 0; } else { - assert(0 && "Unexpected type"); + llvm_unreachable("Unexpected type"); } return true;