diff options
author | Alexander Shaposhnikov <shal1t712@gmail.com> | 2017-06-09 22:20:52 +0000 |
---|---|---|
committer | Alexander Shaposhnikov <shal1t712@gmail.com> | 2017-06-09 22:20:52 +0000 |
commit | a991320022ca7aab679a99752b930d817a5fa397 (patch) | |
tree | 382e3ec7e77b021964c8f3eb260d859080496484 /test/FixIt | |
parent | dd4ce29ba053c530cab3a68b8ba9dfae60e4a271 (diff) |
[clang] Cleanup fixit.c
This diff removes temporary file t2 in fixit.c and updates the test command accordingly.
NFC.
Test plan:
make check-all
Differential revision: https://reviews.llvm.org/D34066
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@305124 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FixIt')
-rw-r--r-- | test/FixIt/fixit.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/FixIt/fixit.c b/test/FixIt/fixit.c index 6443fe53c2..a46558c7fb 100644 --- a/test/FixIt/fixit.c +++ b/test/FixIt/fixit.c @@ -1,9 +1,8 @@ // RUN: %clang_cc1 -pedantic -Wunused-label -verify -x c %s // RUN: cp %s %t // RUN: not %clang_cc1 -pedantic -Wunused-label -fixit -x c %t -// RUN: grep -v CHECK %t > %t2 // RUN: %clang_cc1 -pedantic -Wunused-label -Werror -x c %t -// RUN: FileCheck -input-file=%t2 %t +// RUN: grep -v CHECK %t | FileCheck %t /* This is a test of the various code modification hints that are provided as part of warning or extension diagnostics. All of the |