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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits