]> granicus.if.org Git - clang/commit
Fixed deadcode bug where check for NULL decl occured within a block
authorTed Kremenek <kremenek@apple.com>
Mon, 29 Oct 2007 21:23:58 +0000 (21:23 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 29 Oct 2007 21:23:58 +0000 (21:23 +0000)
commit103a1b45a9167ced1816101d9fb198848f05e2e4
tree9e3660dd0ef4aaf707985524d474ea833a7c8a90
parent86522b9e84d0c39f09b54e888538ad64e89788c4
Fixed deadcode bug where check for NULL decl occured within a block
where the decl would always be non-NULL.  Moved the check to after the
block to properly tidy up the iterator's state.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43473 91177308-0d34-0410-b5e6-96231b3b80d8
AST/StmtIterator.cpp