summaryrefslogtreecommitdiff
path: root/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/c-index-test/c-index-test.c')
-rw-r--r--tools/c-index-test/c-index-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/c-index-test/c-index-test.c b/tools/c-index-test/c-index-test.c
index 39cdcc149e..9288f92d17 100644
--- a/tools/c-index-test/c-index-test.c
+++ b/tools/c-index-test/c-index-test.c
@@ -3183,7 +3183,7 @@ int perform_token_annotation(int argc, const char **argv) {
CXSourceLocation startLoc, endLoc;
CXFile file = 0;
CXCursor *cursors = 0;
- CXSkippedRanges *skipped_ranges = 0;
+ CXSourceRangeList *skipped_ranges = 0;
unsigned i;
input += strlen("-test-annotate-tokens=");
@@ -3283,7 +3283,7 @@ int perform_token_annotation(int argc, const char **argv) {
PrintExtent(stdout, start_line, start_column, end_line, end_column);
printf("\n");
}
- clang_disposeSkippedRanges(skipped_ranges);
+ clang_disposeSourceRangeList(skipped_ranges);
for (i = 0; i != num_tokens; ++i) {
const char *kind = "<unknown>";