summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-12-01 22:28:42 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-12-01 22:28:42 +0000
commit506e579aa034ae84319a36854c8401e23b82f83e (patch)
treedb332d81550b9bb9efcdd4c02ac0d6fd8254f8ca /unittests
parentcf590263cd5c24ccf1d08cef612738d99cd980d9 (diff)
downloadllvm-506e579aa034ae84319a36854c8401e23b82f83e.tar.gz
llvm-506e579aa034ae84319a36854c8401e23b82f83e.tar.bz2
llvm-506e579aa034ae84319a36854c8401e23b82f83e.tar.xz
Make valgrind happy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120616 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/Support/Path.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/Support/Path.cpp b/unittests/Support/Path.cpp
index dd831f9072..a3d96ecf34 100644
--- a/unittests/Support/Path.cpp
+++ b/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;