diff options
| author | Nick Lewycky <nicholas@mxc.ca> | 2010-04-15 06:46:58 +0000 |
|---|---|---|
| committer | Nick Lewycky <nicholas@mxc.ca> | 2010-04-15 06:46:58 +0000 |
| commit | a1e20de9084036fa2977004a31abf5ff490d8c8d (patch) | |
| tree | 531a63f1c83892c45d1476793901a248daa35e1e /clang/test/FixIt | |
| parent | 72ac9505f0ea4c97e440f3c59b1847b24dcfb88a (diff) | |
| download | bcm5719-llvm-a1e20de9084036fa2977004a31abf5ff490d8c8d.tar.gz bcm5719-llvm-a1e20de9084036fa2977004a31abf5ff490d8c8d.zip | |
Teach -fixit to modify all of its inputs instead of just the main file, unless
-fixit-at specified a particular fixit to fix, or the -o flag was used.
llvm-svn: 101359
Diffstat (limited to 'clang/test/FixIt')
| -rw-r--r-- | clang/test/FixIt/fixit-errors.c | 1 | ||||
| -rw-r--r-- | clang/test/FixIt/fixit-pmem.cpp | 1 | ||||
| -rw-r--r-- | clang/test/FixIt/typo.m | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/FixIt/fixit-errors.c b/clang/test/FixIt/fixit-errors.c index 7bf9a58430f..0a60e5b117e 100644 --- a/clang/test/FixIt/fixit-errors.c +++ b/clang/test/FixIt/fixit-errors.c @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -pedantic -fixit %s -o - | %clang_cc1 -pedantic -Werror -x c - +// XFAIL: * /* 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 0926309a9ab..8dfab8f6582 100644 --- a/clang/test/FixIt/fixit-pmem.cpp +++ b/clang/test/FixIt/fixit-pmem.cpp @@ -1,4 +1,5 @@ // RUN: %clang_cc1 -pedantic -fixit %s -o - | %clang_cc1 -fsyntax-only -pedantic -Werror -x c++ - +// XFAIL: * /* 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/typo.m b/clang/test/FixIt/typo.m index ccd94b78c58..fa0918a1e66 100644 --- a/clang/test/FixIt/typo.m +++ b/clang/test/FixIt/typo.m @@ -1,6 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s // FIXME: the test below isn't testing quite what we want... // RUN: %clang_cc1 -fsyntax-only -fixit -o - %s | %clang_cc1 -fsyntax-only -pedantic -Werror -x objective-c - +// XFAIL: * @interface NSString // expected-note{{'NSString' declared here}} + (int)method:(int)x; |

