commit | 9ac5928abeb3a47592201e1c30fe2930c20a507e | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Thu Oct 18 23:28:49 2007 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Thu Oct 18 23:28:49 2007 +0000 |
tree | 69f3573a53424938a2d6750eaf14ffafb1e9f2e7 | |
parent | 3e27aa16e6923f727105330d0b51218f4b9519c8 [diff] |
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