]> granicus.if.org Git - clang/commit
Hack to workaround deficiency in ObjC ASTs. Functions and variables may be declared
authorTed Kremenek <kremenek@apple.com>
Tue, 2 Nov 2010 23:10:24 +0000 (23:10 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 2 Nov 2010 23:10:24 +0000 (23:10 +0000)
commitd8c370ca95a3bccc36c4a6b92a4042809ff51ee4
tree396571c0b2fea1616cdab600f99365ec1172e404
parent926ee13e1061c351f948a39d3a2ee86d590dfc67
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