Remove hack support for @try...@finally in source-level CFGs. The current hack
had too many false positives in the analyzer.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68492 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/CFG.cpp b/lib/AST/CFG.cpp
index cd07aac..4ec124f 100644
--- a/lib/AST/CFG.cpp
+++ b/lib/AST/CFG.cpp
@@ -898,14 +898,7 @@
}
CFGBlock* CFGBuilder::VisitObjCAtTryStmt(ObjCAtTryStmt* S) {
- // Process the statements of the @finally block.
- if (ObjCAtFinallyStmt *FS = S->getFinallyStmt())
- Visit(FS->getFinallyBody());
-
- // FIXME: Handle the @catch statements.
-
- // Process the try body
- return Visit(S->getTryBody());
+ return NYS();
}
CFGBlock* CFGBuilder::VisitWhileStmt(WhileStmt* W) {