]> granicus.if.org Git - clang/commit
When annotating tokens, don't fallback to annotating with a null cursor for cursors...
authorTed Kremenek <kremenek@apple.com>
Wed, 25 Aug 2010 22:16:02 +0000 (22:16 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 25 Aug 2010 22:16:02 +0000 (22:16 +0000)
commitd8b0a84d586bc0a08695968acf2f169c9d01da69
tree954b5d2fa4c94f2e2ee82a510b518a9304a0b9e7
parentc7ed372ec7b1c9be05d022e9bc23cd8641f2b28b
When annotating tokens, don't fallback to annotating with a null cursor for cursors that come before a macro instantiation.  Fixes <rdar://problem/7974151>.

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