]> granicus.if.org Git - clang/commitdiff
Add FileCheck prefix to another location in the output of c-index-test.
authorTed Kremenek <kremenek@apple.com>
Thu, 7 Jan 2010 01:17:12 +0000 (01:17 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 7 Jan 2010 01:17:12 +0000 (01:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92890 91177308-0d34-0410-b5e6-96231b3b80d8

tools/c-index-test/c-index-test.c

index f93c1f5ee9f4c08922b89a75965552e697578773..8e84554e0b2c0bc5fc40f94afe4f54d6f03c6b7b 100644 (file)
@@ -229,7 +229,7 @@ static void print_cursor_file_scan(CXCursor cursor,
                                    unsigned start_line, unsigned start_col,
                                    unsigned end_line, unsigned end_col,
                                    const char *prefix) {
-  printf("// CHECK");
+  printf("// %s: ", FileCheckPrefix);
   if (prefix)
     printf("-%s", prefix);
   printf("{start_line=%d start_col=%d end_line=%d end_col=%d} ",