When libclang is walking a member access expression, don't walk into
authorDouglas Gregor <dgregor@apple.com>
Wed, 17 Nov 2010 17:15:08 +0000 (17:15 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 17 Nov 2010 17:15:08 +0000 (17:15 +0000)
commit89629a746019a42797495b091711a1d68467e88a
treec0866eb1131a40be4db3f05176e136e9f9805576
parent6653798ff5ce6deb58112777e21307ccc453133d
When libclang is walking a member access expression, don't walk into
an implicit "this"; it causes clang_getCursor() to find the implicit
"this" expression (which isn't written in the source!) rather than the
actual member.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119516 91177308-0d34-0410-b5e6-96231b3b80d8
test/Index/get-cursor.cpp
test/Index/recursive-cxx-member-calls.cpp
tools/libclang/CIndex.cpp