projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf59026
)
Make valgrind happy.
author
Michael J. Spencer
<bigcheesegs@gmail.com>
Wed, 1 Dec 2010 22:28:42 +0000
(22:28 +0000)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/unittests/Support/Path.cpp
b/unittests/Support/Path.cpp
index dd831f90727606a2b76b4e88a23dd9a848ed0fb3..a3d96ecf340b6719807900bb7417fc2eb1dee57a 100644
(file)
--- 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;