[clang-tools-extra] r207653 - Test cleanup recommended in http://reviews.llvm.org/D3556

Alex McCarthy alexmc at google.com
Wed Apr 30 07:18:42 PDT 2014


Author: alexmc
Date: Wed Apr 30 09:18:41 2014
New Revision: 207653

URL: http://llvm.org/viewvc/llvm-project?rev=207653&view=rev
Log:
Test cleanup recommended in http://reviews.llvm.org/D3556

Modified:
    clang-tools-extra/trunk/test/clang-tidy/temporaries.cpp

Modified: clang-tools-extra/trunk/test/clang-tidy/temporaries.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/temporaries.cpp?rev=207653&r1=207652&r2=207653&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/temporaries.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/temporaries.cpp Wed Apr 30 09:18:41 2014
@@ -1,7 +1,4 @@
-// RUN: clang-tidy -checks=clang-analyzer-core.NullDereference -disable-checks='' -analyze-temporary-dtors %s -- > %t.log
-// FileCheck complains if the input file is empty, so add a dummy line.
-// RUN: echo foo >> %t.log
-// RUN: FileCheck %s < %t.log
+// RUN: clang-tidy -checks=clang-analyzer-core.NullDereference -disable-checks='' -analyze-temporary-dtors %s -- | FileCheck %s
 
 struct NoReturnDtor {
   ~NoReturnDtor() __attribute__((noreturn));





More information about the cfe-commits mailing list