summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-03-01 23:20:45 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-03-01 23:20:45 +0000
commit5a491ca98e1ac6fd8ae2f0e71a4ee5777e1a1ae4 (patch)
tree7be76eb0e4cca775ccc2b87d9d27be316bc8fb94 /unittests
parentabe24cf037553755df052bbc11c18ad288607849 (diff)
downloadllvm-5a491ca98e1ac6fd8ae2f0e71a4ee5777e1a1ae4.tar.gz
llvm-5a491ca98e1ac6fd8ae2f0e71a4ee5777e1a1ae4.tar.bz2
llvm-5a491ca98e1ac6fd8ae2f0e71a4ee5777e1a1ae4.tar.xz
Re-disable the debug output. The comment is there explaining why we want
to keep this around -- updating golden tests is annoying otherwise. Thanks to Benjamin for pointing this omission out on IRC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151860 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/ADT/HashingTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/ADT/HashingTest.cpp b/unittests/ADT/HashingTest.cpp
index 672823f671..07c0f31f6b 100644
--- a/unittests/ADT/HashingTest.cpp
+++ b/unittests/ADT/HashingTest.cpp
@@ -273,7 +273,7 @@ TEST(HashingTest, HashCombineRangeGoldenTest) {
for (unsigned i = 0; i < sizeof(golden_data)/sizeof(*golden_data); ++i) {
StringRef str = golden_data[i].s;
hash_code hash = hash_combine_range(str.begin(), str.end());
-#if 1 // Enable this to generate paste-able text for the above structure.
+#if 0 // Enable this to generate paste-able text for the above structure.
std::string member_str = "\"" + str.str() + "\",";
fprintf(stderr, " { %-35s 0x%016llxULL },\n",
member_str.c_str(), static_cast<uint64_t>(hash));