summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtPrinter.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2016-01-30 08:03:54 +0000
committerDavide Italiano <davide@freebsd.org>2016-01-30 08:03:54 +0000
commit04839a59f2541745bf95ef8dc78c74e968b2fa7d (patch)
tree2fd6cfb3b25f4deba48e018895db01766c322094 /clang/lib/AST/StmtPrinter.cpp
parent7bf46bfcdf75ad49388690e7fb2101902063d7f8 (diff)
downloadbcm5719-llvm-04839a59f2541745bf95ef8dc78c74e968b2fa7d.tar.gz
bcm5719-llvm-04839a59f2541745bf95ef8dc78c74e968b2fa7d.zip
assert(false) -> llvm_unreachable().
llvm-svn: 259302
Diffstat (limited to 'clang/lib/AST/StmtPrinter.cpp')
-rw-r--r--clang/lib/AST/StmtPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/StmtPrinter.cpp b/clang/lib/AST/StmtPrinter.cpp
index 7cc597dabe8..666b72e2ed3 100644
--- a/clang/lib/AST/StmtPrinter.cpp
+++ b/clang/lib/AST/StmtPrinter.cpp
@@ -2462,7 +2462,7 @@ void StmtPrinter::VisitOpaqueValueExpr(OpaqueValueExpr *Node) {
void StmtPrinter::VisitTypoExpr(TypoExpr *Node) {
// TODO: Print something reasonable for a TypoExpr, if necessary.
- assert(false && "Cannot print TypoExpr nodes");
+ llvm_unreachable("Cannot print TypoExpr nodes");
}
void StmtPrinter::VisitAsTypeExpr(AsTypeExpr *Node) {
OpenPOWER on IntegriCloud