[clang-tools-extra] r251499 - [tidy] Remove stray iostream include from test.

Benjamin Kramer via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 27 22:16:37 PDT 2015


Author: d0k
Date: Wed Oct 28 00:16:37 2015
New Revision: 251499

URL: http://llvm.org/viewvc/llvm-project?rev=251499&view=rev
Log:
[tidy] Remove stray iostream include from test.

It is unused and we cannot rely on standard headers being present while
executing tests.

Modified:
    clang-tools-extra/trunk/test/clang-tidy/modernize-redundant-void-arg.cpp

Modified: clang-tools-extra/trunk/test/clang-tidy/modernize-redundant-void-arg.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/modernize-redundant-void-arg.cpp?rev=251499&r1=251498&r2=251499&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/modernize-redundant-void-arg.cpp (original)
+++ clang-tools-extra/trunk/test/clang-tidy/modernize-redundant-void-arg.cpp Wed Oct 28 00:16:37 2015
@@ -1,6 +1,6 @@
 // RUN: %check_clang_tidy %s modernize-redundant-void-arg %t
 
-#include <iostream>
+#define NULL 0
 
 int foo();
 




More information about the cfe-commits mailing list