[PATCH] D34066: [clang] Cleanup fixit.c

Alexander Shaposhnikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 9 15:21:32 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL305124: [clang] Cleanup fixit.c (authored by alexshap).

Changed prior to commit:
  https://reviews.llvm.org/D34066?vs=102076&id=102079#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D34066

Files:
  cfe/trunk/test/FixIt/fixit.c


Index: cfe/trunk/test/FixIt/fixit.c
===================================================================
--- cfe/trunk/test/FixIt/fixit.c
+++ cfe/trunk/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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34066.102079.patch
Type: text/x-patch
Size: 639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170609/a93dea31/attachment-0001.bin>


More information about the cfe-commits mailing list