aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-12-17 22:14:41 +0000
committerMike Stump <mrs@apple.com>2009-12-17 22:14:41 +0000
commit29da559b62d229f067a5b1851e438561dcbfd9bd (patch)
treec79109267bfb446e973dd3ed27fecfffebe825e8 /lib/Sema/SemaDecl.cpp
parent046a0f3d53235703d462d3ff0a81e14a06d4697c (diff)
Revert r91073.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r--lib/Sema/SemaDecl.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp
index 6ed9f7a772..5bb168068f 100644
--- a/lib/Sema/SemaDecl.cpp
+++ b/lib/Sema/SemaDecl.cpp
@@ -1253,11 +1253,6 @@ Sema::ControlFlowKind Sema::CheckFallThrough(Stmt *Root) {
HasFakeEdge = true;
continue;
}
- if (isa<AsmStmt>(S)) {
- HasFakeEdge = true;
- HasLiveReturn = true;
- continue;
- }
bool NoReturnEdge = false;
if (CallExpr *C = dyn_cast<CallExpr>(S)) {
Expr *CEE = C->getCallee()->IgnoreParenCasts();