commit | f874c13463449f47d125c85df78010d48eaae75f | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Sep 16 19:11:53 2007 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Sep 16 19:11:53 2007 +0000 |
tree | be42ce864178ec77c14aca20e781745032ab4503 | |
parent | 8c9f13e494109426f358ef73bf873f77b1221564 [diff] [blame] |
fix warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42006 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/CFG.cpp b/AST/CFG.cpp index c89e580..cdde4af 100644 --- a/AST/CFG.cpp +++ b/AST/CFG.cpp
@@ -1132,7 +1132,7 @@ C->getRHS()->printPretty(OS); } } - else if (DefaultStmt* D = dyn_cast<DefaultStmt>(S)) + else if (isa<DefaultStmt>(S)) OS << "default"; else assert(false && "Invalid label statement in CFGBlock.");