]> granicus.if.org Git - clang/commit
[libclang] For getDeclFromExpr in CIndex.cpp, associate the decl of
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 12 Sep 2011 22:17:26 +0000 (22:17 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Mon, 12 Sep 2011 22:17:26 +0000 (22:17 +0000)
commitc2954616fbd11f5a6117236f58420029b773a639
tree7ed43057b8e0cb9254c19579c7f781c0f198cbb3
parent544055fa4663298bd2361e9cdfc684934d81e42f
[libclang] For getDeclFromExpr in CIndex.cpp, associate the decl of
a DeclRefExpr, MemberExpr, etc. with a CastExpr if it is ImplicitCast,
since the implicit cast is the one that is invisible in source code.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139547 91177308-0d34-0410-b5e6-96231b3b80d8
test/Index/annotate-tokens.c
test/Index/annotate-tokens.m
test/Index/blocks.c
test/Index/c-index-api-loadTU-test.m
test/Index/c-index-getCursor-test.m
test/Index/load-stmts.cpp
test/Index/recursive-cxx-member-calls.cpp
tools/libclang/CIndex.cpp