[PATCH] D39217: [libclang, bindings]: add spelling location
Masud Rahman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 24 14:43:30 PDT 2017
frutiger added inline comments.
================
Comment at: test/Index/c-index-getCursor-test.m:167
// CHECK: [57:1 - 57:10] FunctionDecl=f:57:6 (Definition)
-// CHECK: [58:4 - 58:8] VarDecl=my_var:58:8 (Definition)
+// CHECK: [58:4 - 58:8] VarDecl=my_var:2:1 (Definition)
// CHECK: [58:8 - 58:15] macro expansion=CONCAT:55:9
----------------
jklaehn wrote:
> This does not seem to refer to a valid location? (line 2 only contains a comment)
I don't really understand this output. What is `-test-file-scan` supposed to show?
https://reviews.llvm.org/D39217
More information about the cfe-commits
mailing list