From 6c39d457fa15fffff586b96977dbd4a626f1be8b Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 14 Nov 2009 04:39:42 +0000 Subject: [PATCH] Update FixIt tests to make it more obvious they use a separate mode. llvm-svn: 88758 --- clang/test/FixIt/fixit-at.c | 2 +- clang/test/FixIt/fixit-c90.c | 2 +- clang/test/FixIt/fixit-errors-1.c | 2 +- clang/test/FixIt/fixit-errors.c | 2 +- clang/test/FixIt/fixit-objc.m | 4 ++-- clang/test/FixIt/fixit-pmem.cpp | 2 +- clang/test/FixIt/fixit.c | 2 +- clang/test/FixIt/fixit.cpp | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/clang/test/FixIt/fixit-at.c b/clang/test/FixIt/fixit-at.c index 42488f56bc7b..5eaa5c346926 100644 --- a/clang/test/FixIt/fixit-at.c +++ b/clang/test/FixIt/fixit-at.c @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -fixit-at=fixit-at.c:3:1 %s -o - | clang-cc -verify -x c - +// RUN: clang-cc -fixit-at=fixit-at.c:3:1 %s -o - | clang-cc -verify -x c - _Complex cd; diff --git a/clang/test/FixIt/fixit-c90.c b/clang/test/FixIt/fixit-c90.c index 03c94953db4e..7036b08022c0 100644 --- a/clang/test/FixIt/fixit-c90.c +++ b/clang/test/FixIt/fixit-c90.c @@ -1,4 +1,4 @@ -/* RUN: clang-cc -fsyntax-only -std=c90 -pedantic -fixit %s -o - | clang-cc -pedantic -x c -std=c90 -Werror - +/* RUN: clang-cc -std=c90 -pedantic -fixit %s -o - | clang-cc -pedantic -x c -std=c90 -Werror - */ /* This is a test of the various code modification hints that are diff --git a/clang/test/FixIt/fixit-errors-1.c b/clang/test/FixIt/fixit-errors-1.c index 14329ead8599..968d1d23151c 100644 --- a/clang/test/FixIt/fixit-errors-1.c +++ b/clang/test/FixIt/fixit-errors-1.c @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -pedantic -fixit %s -o - | clang-cc -pedantic -Werror -x c - +// RUN: clang-cc -pedantic -fixit %s -o - | clang-cc -pedantic -Werror -x c - /* This is a test of the various code modification hints that are provided as part of warning or extension diagnostics. All of the diff --git a/clang/test/FixIt/fixit-errors.c b/clang/test/FixIt/fixit-errors.c index 996e940f2c85..030f505e610e 100644 --- a/clang/test/FixIt/fixit-errors.c +++ b/clang/test/FixIt/fixit-errors.c @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -pedantic -fixit %s -o - | clang-cc -pedantic -Werror -x c - +// RUN: clang-cc -pedantic -fixit %s -o - | clang-cc -pedantic -Werror -x c - /* This is a test of the various code modification hints that are provided as part of warning or extension diagnostics. All of the diff --git a/clang/test/FixIt/fixit-objc.m b/clang/test/FixIt/fixit-objc.m index 687405c7ce38..21aebfe3a968 100644 --- a/clang/test/FixIt/fixit-objc.m +++ b/clang/test/FixIt/fixit-objc.m @@ -1,5 +1,5 @@ -// RUN: clang-cc -fsyntax-only -pedantic -fixit %s -o %t -// RUN: clang-cc -fsyntax-only -pedantic -x objective-c %t -verify +// RUN: clang-cc -pedantic -fixit %s -o %t +// RUN: clang-cc -pedantic -x objective-c %t -verify /* This is a test of the various code modification hints that are provided as part of warning or extension diagnostics. All of the diff --git a/clang/test/FixIt/fixit-pmem.cpp b/clang/test/FixIt/fixit-pmem.cpp index bb36f7fa9343..f938009b9030 100644 --- a/clang/test/FixIt/fixit-pmem.cpp +++ b/clang/test/FixIt/fixit-pmem.cpp @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -pedantic -fixit %s -o - | clang-cc -fsyntax-only -pedantic -Werror -x c++ - +// RUN: clang-cc -pedantic -fixit %s -o - | clang-cc -fsyntax-only -pedantic -Werror -x c++ - /* This is a test of the various code modification hints that are provided as part of warning or extension diagnostics. All of the diff --git a/clang/test/FixIt/fixit.c b/clang/test/FixIt/fixit.c index 1378df4de152..d14213df7123 100644 --- a/clang/test/FixIt/fixit.c +++ b/clang/test/FixIt/fixit.c @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -pedantic -fixit %s -o - | clang-cc -pedantic -Werror -x c - +// RUN: clang-cc -pedantic -fixit %s -o - | clang-cc -pedantic -Werror -x c - /* This is a test of the various code modification hints that are provided as part of warning or extension diagnostics. All of the diff --git a/clang/test/FixIt/fixit.cpp b/clang/test/FixIt/fixit.cpp index 9190297dc05f..dac1fa03de37 100644 --- a/clang/test/FixIt/fixit.cpp +++ b/clang/test/FixIt/fixit.cpp @@ -1,4 +1,4 @@ -// RUN: clang-cc -fsyntax-only -pedantic -fixit %s -o - | clang-cc -fsyntax-only -pedantic -Werror -x c++ - +// RUN: clang-cc -pedantic -fixit %s -o - | clang-cc -fsyntax-only -pedantic -Werror -x c++ - /* This is a test of the various code modification hints that are provided as part of warning or extension diagnostics. All of the