]> granicus.if.org Git - clang/commit
Fixed DeclStmt::child_begin() to actually create an iterator that
authorTed Kremenek <kremenek@apple.com>
Thu, 18 Oct 2007 23:28:49 +0000 (23:28 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 18 Oct 2007 23:28:49 +0000 (23:28 +0000)
commit9ac5928abeb3a47592201e1c30fe2930c20a507e
tree69f3573a53424938a2d6750eaf14ffafb1e9f2e7
parent3e27aa16e6923f727105330d0b51218f4b9519c8
Fixed DeclStmt::child_begin() to actually create an iterator that
visits its decls, rather than just creating an "end()" iterator.

Fixed child_end() for statements and expressions to use
child_iterator() to create the end() iterator, rather than just
returning NULL.

Fixed bug in StmtIterator where we did not correctly detect if we had
marched off the end of the ScopedDecls.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43156 91177308-0d34-0410-b5e6-96231b3b80d8
AST/Expr.cpp
AST/ExprCXX.cpp
AST/Stmt.cpp
AST/StmtIterator.cpp
include/clang/AST/StmtGraphTraits.h
include/clang/AST/StmtIterator.h