Author: alexshap Date: Fri Jun 9 17:20:52 2017 New Revision: 305124 URL: http://llvm.org/viewvc/llvm-project?rev=305124&view=rev Log: [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 Modified: cfe/trunk/test/FixIt/fixit.c Modified: cfe/trunk/test/FixIt/fixit.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/FixIt/fixit.c?rev=305124&r1=305123&r2=305124&view=diff ============================================================================== --- cfe/trunk/test/FixIt/fixit.c (original) +++ cfe/trunk/test/FixIt/fixit.c Fri Jun 9 17:20:52 2017 @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits