Make valgrind happy.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 1 Dec 2010 22:28:42 +0000 (22:28 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Wed, 1 Dec 2010 22:28:42 +0000 (22:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120616 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Support/Path.cpp

index dd831f90727606a2b76b4e88a23dd9a848ed0fb3..a3d96ecf340b6719807900bb7417fc2eb1dee57a 100644 (file)
@@ -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;