aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2010-04-08 23:17:16 +0000
committerTed Kremenek <kremenek@apple.com>2010-04-08 23:17:16 +0000
commit355fa3a65d2bffb2cb230e5c3d8cd14ec5570329 (patch)
treecf97306605fbc98d7a4fb3001ef794e3fb280722
parentbace4ba042d87a0ed0ec15dbe6caad946b97bd33 (diff)
Use '%clang_cc1' instead of '%clang' to make the warning output more consistent across
platforms (for this test). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100827 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/Sema/warn-unused-parameters.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Sema/warn-unused-parameters.c b/test/Sema/warn-unused-parameters.c
index 43ebdbff2b..e47ddd5e00 100644
--- a/test/Sema/warn-unused-parameters.c
+++ b/test/Sema/warn-unused-parameters.c
@@ -1,5 +1,5 @@
-// RUN: %clang -fblocks -fsyntax-only -Wunused-parameter %s 2>&1 | FileCheck %s
-// RUN: %clang -fblocks -fsyntax-only -Wunused %s 2>&1 | FileCheck -check-prefix=CHECK-unused %s
+// RUN: %clang_cc1 -fblocks -fsyntax-only -Wunused-parameter %s 2>&1 | FileCheck %s
+// RUN: %clang_cc1 -fblocks -fsyntax-only -Wunused %s 2>&1 | FileCheck -check-prefix=CHECK-unused %s
int f0(int x,
int y,