Hack to workaround deficiency in ObjC ASTs. Functions and variables may be declared
commit82c3e87e6aa775a4082201d157b29c34a35717c0
authorTed Kremenek <kremenek@apple.com>
Tue, 2 Nov 2010 23:10:24 +0000 (2 23:10 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 2 Nov 2010 23:10:24 +0000 (2 23:10 +0000)
tree396571c0b2fea1616cdab600f99365ec1172e404
parentffe7103c93b2d25b85628e4685ae71b2d71e45b3
Hack to workaround deficiency in ObjC ASTs.  Functions and variables may be declared
within an @implementation, but we have no way to record that information in the AST.
This may cause CursorVisitor to miss these Decls when doing a AST walk.

Fixes <rdar://problem/8595462>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118109 91177308-0d34-0410-b5e6-96231b3b80d8
test/Index/annotate-tokens.m
tools/libclang/CIndex.cpp