| commit | a6478551aaf4095fe3b0d6a41905223c951f82a2 | [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 | 20b40e4a3a171cf98037cc0d7eb6264968794f90 [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