summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Shaposhnikov <shal1t712@gmail.com>2017-06-09 22:20:52 +0000
committerAlexander Shaposhnikov <shal1t712@gmail.com>2017-06-09 22:20:52 +0000
commitf3e877017b3317007d34746dee98d2fe623f61e0 (patch)
treec751e2aa81e5b1ad8f345fe0c209b5d91acc38c4
parentd335233fe2186b84b0667d32d1be329112c50f8b (diff)
downloadbcm5719-llvm-f3e877017b3317007d34746dee98d2fe623f61e0.tar.gz
bcm5719-llvm-f3e877017b3317007d34746dee98d2fe623f61e0.zip
[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 llvm-svn: 305124
-rw-r--r--clang/test/FixIt/fixit.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/FixIt/fixit.c b/clang/test/FixIt/fixit.c
index 6443fe53c2a..a46558c7fb0 100644
--- a/clang/test/FixIt/fixit.c
+++ b/clang/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
OpenPOWER on IntegriCloud