From 5a491ca98e1ac6fd8ae2f0e71a4ee5777e1a1ae4 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Thu, 1 Mar 2012 23:20:45 +0000 Subject: [PATCH] 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 --- unittests/ADT/HashingTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/ADT/HashingTest.cpp b/unittests/ADT/HashingTest.cpp index 672823f671c..07c0f31f6b3 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(hash)); -- 2.34.1