Home | History | Annotate | Download | only in c-index-test

Lines Matching full:loc

616           CXSourceLocation Loc;
620 Loc = clang_getCursorLocation(Ovl);
621 clang_getSpellingLocation(Loc, 0, &line, &column, 0);
626 CXSourceLocation Loc = clang_getCursorLocation(Referenced);
627 clang_getSpellingLocation(Loc, 0, &line, &column, 0);
734 CXSourceLocation Loc = clang_getCursorLocation(SpecializationOf);
736 clang_getSpellingLocation(Loc, 0, &line, &column, 0);
749 CXSourceLocation Loc = clang_getCursorLocation(overridden[I]);
750 clang_getSpellingLocation(Loc, 0, &line, &column, 0);
838 CXSourceLocation Loc = clang_getCursorLocation(Cursor);
841 clang_getExpansionLocation(Loc, &file, 0, 0, 0);
845 return "<invalid loc>";
974 CXSourceLocation Loc = clang_getCursorLocation(Cursor);
976 clang_getSpellingLocation(Loc, 0, &line, &column, 0);
1025 CXSourceLocation Loc;
1036 Loc = clang_getCursorLocation(Cursor);
1037 clang_getSpellingLocation(Loc, &file, 0, 0, 0);
2004 unsigned NumLocations = 0, Loc;
2016 for (Loc = 0; Loc < NumLocations; ++Loc) {
2017 const char *input = argv[Loc + 1] + strlen("-cursor-at=");
2018 if ((errorCode = parse_file_line_column(input, &Locations[Loc].filename,
2019 &Locations[Loc].line,
2020 &Locations[Loc].column, 0, 0)))
2060 for (Loc = 0; Loc < NumLocations; ++Loc) {
2061 CXFile file = clang_getFile(TU, Locations[Loc].filename);
2066 clang_getLocation(TU, file, Locations[Loc].line,
2067 Locations[Loc].column));
2138 free(Locations[Loc].filename);
2170 unsigned NumLocations = 0, Loc;
2182 for (Loc = 0; Loc < NumLocations; ++Loc) {
2183 const char *input = argv[Loc + 1] + strlen("-file-refs-at=");
2184 if ((errorCode = parse_file_line_column(input, &Locations[Loc].filename,
2185 &Locations[Loc].line,
2186 &Locations[Loc].column, 0, 0)))
2226 for (Loc = 0; Loc < NumLocations; ++Loc) {
2227 CXFile file = clang_getFile(TU, Locations[Loc].filename);
2232 clang_getLocation(TU, file, Locations[Loc].line,
2233 Locations[Loc].column));
2243 free(Locations[Loc].filename);
2414 static void printCXIndexLoc(CXIdxLoc loc, CXClientData client_data) {
2423 clang_indexLoc_getFileLocation(loc, &file, 0, &line, &column, 0);
2458 CXIdxLoc loc) {
2468 clang_indexLoc_getFileLocation(loc, &file, 0, &line, &column, 0);
2578 printf(" | loc: ");
2579 printCXIndexLoc(info->loc, client_data);
2590 printf(" | loc: ");
2591 printCXIndexLoc(ProtoInfo->protocols[i]->loc, client_data);
2649 printf(" | hash loc: ");
2673 printf(" | loc: ");
2674 printCXIndexLoc(info->loc, client_data);
2710 printf(" | loc: ");
2711 printCXIndexLoc(info->loc, client_data);
2753 printf(" | loc: ");
2789 makeClientContainer(info->entityInfo, info->loc));
2797 printf(" | loc: ");
2798 printCXIndexLoc(info->loc, client_data);