summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/get-cursor.c
Commit message (Collapse)AuthorAgeFilesLines
* [libclang] During member ref expression visitation, ignore base anonymous ↵Argyrios Kyrtzidis2015-03-131-0/+13
| | | | | | | | | | struct/union fields. Otherwise they will shadow the real field that that we are interested in. rdar://19783938 llvm-svn: 232141
* [libclang] When doing the cursor visitation make sure declarationsArgyrios Kyrtzidis2012-06-091-0/+6
| | | | | | | | | | | | | | | 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 llvm-svn: 158258
* [libclang] Fix getting a cursor that points inside tag definition that is partArgyrios Kyrtzidis2011-08-251-0/+14
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. llvm-svn: 138593
OpenPOWER on IntegriCloud