]> granicus.if.org Git - clang/commitdiff
c-index-test.c: Split a format string. [-Woverlength-strings]
authorNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 24 Oct 2012 22:52:04 +0000 (22:52 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Wed, 24 Oct 2012 22:52:04 +0000 (22:52 +0000)
FIXME: They are still long strings without formatter in printf(3)!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@166636 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 7b2e17a890459b6c4bb3bc4e14f8152c6764e84d..2df2e4be3e50b97fb2ddc967e2e6406179ce5c57 100644 (file)
@@ -3349,7 +3349,8 @@ static void print_usage(void) {
     "usage: c-index-test -code-completion-at=<site> <compiler arguments>\n"
     "       c-index-test -code-completion-timing=<site> <compiler arguments>\n"
     "       c-index-test -cursor-at=<site> <compiler arguments>\n"
-    "       c-index-test -file-refs-at=<site> <compiler arguments>\n"
+    "       c-index-test -file-refs-at=<site> <compiler arguments>\n");
+  fprintf(stderr,
     "       c-index-test -index-file [-check-prefix=<FileCheck prefix>] <compiler arguments>\n"
     "       c-index-test -index-file-full [-check-prefix=<FileCheck prefix>] <compiler arguments>\n"
     "       c-index-test -index-tu [-check-prefix=<FileCheck prefix>] <AST file>\n"