diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-01-20 20:59:29 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-01-20 20:59:29 +0000 |
commit | b1373d03e4e38620647311bb87e56c0cf7cffeb7 (patch) | |
tree | 3b4227f4bb763b54e0190d7f57dc88f016e1505d /lib/AST/DeclBase.cpp | |
parent | 3ad230eb626d630877c17d6e81b167ec7476d84e (diff) |
Introduce a new, cursor-based traversal function that visits the
children of a given cursor, regardless of what kind of cursor it
is. This is a generalization of clang_loadDeclaration and
clang_loadTranslationUnit that will also extent to statements,
expressions, etc.
As proof-of-concept, switched clang_loadDeclaration() from its own
visitor over to an instance of this traversal function internally.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94022 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclBase.cpp')
0 files changed, 0 insertions, 0 deletions