summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/Stmt.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-01-20 21:50:17 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-01-20 21:50:17 +0000
commite4d798f07897a6378d0f2588e4c2335ec85ca935 (patch)
tree6f31c0fc2740ae77aa711c1f9da94a19d825af98 /clang/lib/AST/Stmt.cpp
parentf2a2f5f2bfe9da1a3e0a25934d833956b04bb8a5 (diff)
downloadbcm5719-llvm-e4d798f07897a6378d0f2588e4c2335ec85ca935.tar.gz
bcm5719-llvm-e4d798f07897a6378d0f2588e4c2335ec85ca935.zip
More dead code removal (using -Wunreachable-code)
llvm-svn: 148577
Diffstat (limited to 'clang/lib/AST/Stmt.cpp')
-rw-r--r--clang/lib/AST/Stmt.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/AST/Stmt.cpp b/clang/lib/AST/Stmt.cpp
index e7b87e4db67..8b2e35376bd 100644
--- a/clang/lib/AST/Stmt.cpp
+++ b/clang/lib/AST/Stmt.cpp
@@ -164,7 +164,6 @@ Stmt::child_range Stmt::children() {
#include "clang/AST/StmtNodes.inc"
}
llvm_unreachable("unknown statement kind!");
- return child_range();
}
SourceRange Stmt::getSourceRange() const {
@@ -177,7 +176,6 @@ SourceRange Stmt::getSourceRange() const {
#include "clang/AST/StmtNodes.inc"
}
llvm_unreachable("unknown statement kind!");
- return SourceRange();
}
void CompoundStmt::setStmts(ASTContext &C, Stmt **Stmts, unsigned NumStmts) {
OpenPOWER on IntegriCloud