diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2010-04-24 01:30:46 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2010-04-24 01:30:46 +0000 |
commit | ba5f6eced29937e4e4851a2c0980744768413d66 (patch) | |
tree | 7c65077ea2d105c3761012d52510063c5ce36530 /test/FixIt/fixit-errors.c | |
parent | 970c618c3f9ce7e010a30587118afc03434cfd99 (diff) |
Teach clang -fixit to modify files in-place, or -fixit=suffix to create new
files with the additional suffix in the middle.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102230 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FixIt/fixit-errors.c')
-rw-r--r-- | test/FixIt/fixit-errors.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/FixIt/fixit-errors.c b/test/FixIt/fixit-errors.c index 0a60e5b117..ff063635f6 100644 --- a/test/FixIt/fixit-errors.c +++ b/test/FixIt/fixit-errors.c @@ -1,4 +1,6 @@ -// RUN: %clang_cc1 -pedantic -fixit %s -o - | %clang_cc1 -pedantic -Werror -x c - +// RUN: cp %s %t +// RUN: %clang_cc1 -pedantic -verify -fixit -x c %t || true +// RUN: %clang_cc1 -pedantic -Werror -x c %t // XFAIL: * /* This is a test of the various code modification hints that are |