summaryrefslogtreecommitdiffstats
path: root/clang/tools/c-index-test/c-index-test.c
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-10-24 22:52:04 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-10-24 22:52:04 +0000
commit4deb9a9b1151eaf7f108103b3936f1e17f5b48ad (patch)
tree83aa85aa59192a16573b537af3ee8f1375681565 /clang/tools/c-index-test/c-index-test.c
parentee1450aece16b2624962e76b86776202d3abb91e (diff)
downloadbcm5719-llvm-4deb9a9b1151eaf7f108103b3936f1e17f5b48ad.tar.gz
bcm5719-llvm-4deb9a9b1151eaf7f108103b3936f1e17f5b48ad.zip
c-index-test.c: Split a format string. [-Woverlength-strings]
FIXME: They are still long strings without formatter in printf(3)! llvm-svn: 166636
Diffstat (limited to 'clang/tools/c-index-test/c-index-test.c')
-rw-r--r--clang/tools/c-index-test/c-index-test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/tools/c-index-test/c-index-test.c b/clang/tools/c-index-test/c-index-test.c
index 7b2e17a8904..2df2e4be3e5 100644
--- a/clang/tools/c-index-test/c-index-test.c
+++ b/clang/tools/c-index-test/c-index-test.c
@@ -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"
OpenPOWER on IntegriCloud