From 75942f9d93d52e4b5cd07b5bbf50a433477755ad Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Wed, 1 Dec 2010 22:28:42 +0000 Subject: Make valgrind happy. llvm-svn: 120616 --- llvm/unittests/Support/Path.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/unittests/Support/Path.cpp') diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp index dd831f90727..a3d96ecf340 100644 --- a/llvm/unittests/Support/Path.cpp +++ b/llvm/unittests/Support/Path.cpp @@ -87,6 +87,7 @@ TEST(Support, Path) { } 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 @@ TEST(Support, Path) { outs() << *ci << ','; } outs() << "]\n"; +#endif bool bres; StringRef sfres; -- cgit v1.2.3