summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/IndexDecl.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-09-01 18:27:30 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-09-01 18:27:30 +0000
commitda188de2b69f6125d04e8ba8851cd9519ec457c9 (patch)
treef2c4f77eef22252099f8550537994a7e0da1bf25 /clang/tools/libclang/IndexDecl.cpp
parent726d32cdfa4fb7ada6652f584513d628867b4a6e (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud