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-suffix.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-suffix.c')
-rw-r--r-- | test/FixIt/fixit-suffix.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/FixIt/fixit-suffix.c b/test/FixIt/fixit-suffix.c new file mode 100644 index 0000000000..a1a747a95a --- /dev/null +++ b/test/FixIt/fixit-suffix.c @@ -0,0 +1,5 @@ +// RUN: cp %s %t.extrasuffix +// RUN: %clang_cc1 -fixit=fixed -x c %t.extrasuffix +// RUN: %clang_cc1 -Werror -pedantic -x c %t.fixed.extrasuffix + +_Complex cd; |