[PATCH] D39217: [libclang, bindings]: add spelling location
Masud Rahman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 25 13:31:00 PDT 2017
frutiger added a comment.
It looks like the `my_var:2:1` refers to the result from `clang_getCursorReferenced`: https://github.com/llvm-mirror/clang/blob/d454549fce04dfedda6cc2825b66efca94effe3f/tools/c-index-test/c-index-test.c#L709-L711. I'm not sure what a referenced cursor is in this context, but the line and column appear to be related to the referenced cursor. As you say, there's nothing relevant at that location, so I'm not sure why it's returning 2 and 1.
https://reviews.llvm.org/D39217
More information about the cfe-commits
mailing list