[llvm-commits] [llvm] r151860 - /llvm/trunk/unittests/ADT/HashingTest.cpp
Chandler Carruth
chandlerc at gmail.com
Thu Mar 1 15:20:45 PST 2012
Author: chandlerc
Date: Thu Mar 1 17:20:45 2012
New Revision: 151860
URL: http://llvm.org/viewvc/llvm-project?rev=151860&view=rev
Log:
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.
Modified:
llvm/trunk/unittests/ADT/HashingTest.cpp
Modified: llvm/trunk/unittests/ADT/HashingTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/ADT/HashingTest.cpp?rev=151860&r1=151859&r2=151860&view=diff
==============================================================================
--- llvm/trunk/unittests/ADT/HashingTest.cpp (original)
+++ llvm/trunk/unittests/ADT/HashingTest.cpp Thu Mar 1 17:20:45 2012
@@ -273,7 +273,7 @@
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));
More information about the llvm-commits
mailing list