diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-09-01 18:27:30 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-09-01 18:27:30 +0000 |
commit | da188de2b69f6125d04e8ba8851cd9519ec457c9 (patch) | |
tree | f2c4f77eef22252099f8550537994a7e0da1bf25 /clang/tools/libclang/IndexDecl.cpp | |
parent | 726d32cdfa4fb7ada6652f584513d628867b4a6e (diff) | |
download | bcm5719-llvm-da188de2b69f6125d04e8ba8851cd9519ec457c9.tar.gz bcm5719-llvm-da188de2b69f6125d04e8ba8851cd9519ec457c9.zip |
[libclang] The annotation of tokens operation visits statement nodes code-recursively.
This can blow the stack with extremely deep hierarchies. Switch it to data-recursive.
This is implemented by introducing a post-children visitation callback that the
CursorVisitor is calling after child nodes of a cursor have been visited.
This is used by the annotate-tokens visitor to do extra work at that point.
rdar://11979525.
llvm-svn: 163071
Diffstat (limited to 'clang/tools/libclang/IndexDecl.cpp')
0 files changed, 0 insertions, 0 deletions