summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/format-strings-darwin.c
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-07-19 01:39:17 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-07-19 01:39:17 +0000
commit1b98ccc4e9576e86fb3e235bac3076472a84f875 (patch)
tree2a47686d41ac218fd7c65dea3321790f383a15e1 /clang/test/Sema/format-strings-darwin.c
parentc4e00289a78116aefc8db41979d747ab27c4bd44 (diff)
downloadbcm5719-llvm-1b98ccc4e9576e86fb3e235bac3076472a84f875.tar.gz
bcm5719-llvm-1b98ccc4e9576e86fb3e235bac3076472a84f875.zip
PR20356: Fix all Sema warnings with mismatched ext_/warn_ versus
ExtWarn/Warnings. Mostly the name of the warning was changed to match the semantics, but in the PR20356 cases, the warning was about valid code, so the diagnostic was changed from ExtWarn to Warning instead. llvm-svn: 213443
Diffstat (limited to 'clang/test/Sema/format-strings-darwin.c')
-rw-r--r--clang/test/Sema/format-strings-darwin.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/Sema/format-strings-darwin.c b/clang/test/Sema/format-strings-darwin.c
index 5daf3e5c8b6..46e717eb9d7 100644
--- a/clang/test/Sema/format-strings-darwin.c
+++ b/clang/test/Sema/format-strings-darwin.c
@@ -1,11 +1,11 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -triple i386-apple-darwin9 -pedantic -DALLOWED %s
-// RUN: %clang_cc1 -fsyntax-only -verify -triple thumbv6-apple-ios4.0 -pedantic -DALLOWED %s
+// RUN: %clang_cc1 -fsyntax-only -verify -triple i386-apple-darwin9 -Wformat-non-iso -DALLOWED %s
+// RUN: %clang_cc1 -fsyntax-only -verify -triple thumbv6-apple-ios4.0 -Wformat-non-iso -DALLOWED %s
-// RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-mingw32 -pedantic %s
-// RUN: %clang_cc1 -fsyntax-only -verify -triple i686-pc-win32 -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-mingw32 -Wformat-non-iso %s
+// RUN: %clang_cc1 -fsyntax-only -verify -triple i686-pc-win32 -Wformat-non-iso %s
-// RUN: %clang_cc1 -fsyntax-only -verify -triple i686-linux-gnu -pedantic %s
-// RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-unknown-freebsd -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -verify -triple i686-linux-gnu -Wformat-non-iso %s
+// RUN: %clang_cc1 -fsyntax-only -verify -triple x86_64-unknown-freebsd -Wformat-non-iso %s
int printf(const char *restrict, ...);
int scanf(const char * restrict, ...) ;
OpenPOWER on IntegriCloud