aboutsummaryrefslogtreecommitdiff
path: root/test/Index/get-cursor.c
AgeCommit message (Collapse)Author
2012-06-09[libclang] When doing the cursor visitation make sure declarationsArgyrios Kyrtzidis
in the same line do not override getting a cursor for the previous declaration. e.g: int x, y; @synthesize prop1, prop2; pointing at 'x'/'prop1' would give 'y'/'prop2' because their source ranges overlap. rdar://11361113 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158258 91177308-0d34-0410-b5e6-96231b3b80d8
2011-08-25[libclang] Fix getting a cursor that points inside tag definition that is partArgyrios Kyrtzidis
of a type specifier. e.g. for: typedef struct _MyS { int foo; } MyS; pointing at field 'foo' would give a cursor for the typedef declaration 'MyS' instead of the field. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138593 91177308-0d34-0410-b5e6-96231b3b80d8