]> granicus.if.org Git - clang/commit
Added bandaid support in CFG construction for ObjCForEachStmt and ObjCAtTryStmt:
authorTed Kremenek <kremenek@apple.com>
Thu, 13 Mar 2008 03:04:22 +0000 (03:04 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 13 Mar 2008 03:04:22 +0000 (03:04 +0000)
commit4102af916d52310c3deedd84d6fd5e2fd3c09bfe
tree3aeaaa8cb8b105dc1e44c157423f56fb8d2eebf6
parent5518e7caf365158c5a03fc34d0d05d5a4981fa05
Added bandaid support in CFG construction for ObjCForEachStmt and ObjCAtTryStmt:
we gracefully back out and return NULL for the CFG, allowing clients to skip
analyzing functions with these CFGs. We will add support later.

Modified base ASTConsumer "CFGVisitor" to detect when a CFG is not constructed
and to emit a warning.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48322 91177308-0d34-0410-b5e6-96231b3b80d8
AST/CFG.cpp
Driver/ASTConsumers.cpp