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 | 71f3d94391f5f53aac991ec19c043beb9c821d3c (patch) | |
tree | e2c5027eddee4ef83e1f140bc48bb91303798ab9 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 1edfeb2c46f1075bd02a756c6d6da4f80a4ec317 (diff) | |
download | bcm5719-llvm-71f3d94391f5f53aac991ec19c043beb9c821d3c.tar.gz bcm5719-llvm-71f3d94391f5f53aac991ec19c043beb9c821d3c.zip |
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.
llvm-svn: 94022
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions