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 | d579dd5cc43e657647f38be5dd47c8974cd43108 (patch) | |
tree | 38ff801cde2ecc833f611a211f9a3cc99f26a2a7 /tools/libclang/IndexDecl.cpp | |
parent | 91ab900a939e95d965e18299b66928fdbe2aa38d (diff) |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163071 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/libclang/IndexDecl.cpp')
0 files changed, 0 insertions, 0 deletions