[llvm-commits] [llvm] r120616 - /llvm/trunk/unittests/Support/Path.cpp
Michael J. Spencer
bigcheesegs at gmail.com
Wed Dec 1 14:28:42 PST 2010
Author: mspencer
Date: Wed Dec 1 16:28:42 2010
New Revision: 120616
URL: http://llvm.org/viewvc/llvm-project?rev=120616&view=rev
Log:
Make valgrind happy.
Modified:
llvm/trunk/unittests/Support/Path.cpp
Modified: llvm/trunk/unittests/Support/Path.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/Path.cpp?rev=120616&r1=120615&r2=120616&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/Path.cpp (original)
+++ llvm/trunk/unittests/Support/Path.cpp Wed Dec 1 16:28:42 2010
@@ -87,6 +87,7 @@
}
outs() << "]\n";
+#if 0 // Valgrind is whining about this.
outs() << " Reverse Iteration: [";
for (sys::path::reverse_iterator ci = sys::path::rbegin(*i),
ce = sys::path::rend(*i);
@@ -95,6 +96,7 @@
outs() << *ci << ',';
}
outs() << "]\n";
+#endif
bool bres;
StringRef sfres;
More information about the llvm-commits
mailing list