CodeMod: Replace includes of folly/Hash.h with folly/hash/Hash.h
authorYedidya Feldblum <yfeldblum@fb.com>
Sun, 29 Oct 2017 20:55:29 +0000 (13:55 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sun, 29 Oct 2017 21:05:27 +0000 (14:05 -0700)
Summary: CodeMod: Replace includes of `folly/Hash.h` with `folly/hash/Hash.h`.

Reviewed By: luciang

Differential Revision: D6156195

fbshipit-source-id: 0941b3c9cf1d17d7cc62595111e506c06ee51236

17 files changed:
folly/AtomicHashArray.h
folly/AtomicHashMap.h
folly/FBString.h
folly/FixedString.h
folly/IPAddressV4.h
folly/IPAddressV6.h
folly/Singleton.h
folly/SocketAddress.cpp
folly/Uri-inl.h
folly/concurrency/CacheLocality.h
folly/detail/Futex.cpp
folly/detail/MemoryIdler.h
folly/dynamic.cpp
folly/experimental/FunctionScheduler.h
folly/experimental/StringKeyedUnorderedMap.h
folly/experimental/StringKeyedUnorderedSet.h
folly/experimental/symbolizer/ElfCache.h

index 16b8dad..654077b 100644 (file)
@@ -37,9 +37,9 @@
 #include <boost/iterator/iterator_facade.hpp>
 #include <boost/noncopyable.hpp>
 
-#include <folly/Hash.h>
 #include <folly/ThreadCachedInt.h>
 #include <folly/Utility.h>
+#include <folly/hash/Hash.h>
 
 namespace folly {
 
index 280b0dd..2243b6b 100644 (file)
 #include <stdexcept>
 
 #include <folly/AtomicHashArray.h>
-#include <folly/Hash.h>
 #include <folly/Likely.h>
 #include <folly/ThreadCachedInt.h>
 #include <folly/container/Foreach.h>
+#include <folly/hash/Hash.h>
 
 namespace folly {
 
index 9c9f670..4882aac 100644 (file)
@@ -54,8 +54,8 @@
 #include <string>
 #include <utility>
 
-#include <folly/Hash.h>
 #include <folly/Traits.h>
+#include <folly/hash/Hash.h>
 #include <folly/memory/Malloc.h>
 #include <folly/portability/BitsFunctexcept.h>
 
index cec0022..ece7691 100644 (file)
@@ -409,7 +409,7 @@ struct ReverseIterator {
 } // namespace fixedstring
 } // namespace detail
 
-// Defined in folly/Hash.h
+// Defined in folly/hash/Hash.h
 std::uint32_t hsieh_hash32_buf(const void* buf, std::size_t len);
 
 /** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** *
index 96de8ad..76534ad 100644 (file)
@@ -23,9 +23,9 @@
 #include <iosfwd>
 
 #include <folly/FBString.h>
-#include <folly/Hash.h>
 #include <folly/Range.h>
 #include <folly/detail/IPAddress.h>
+#include <folly/hash/Hash.h>
 
 namespace folly {
 
index f641bdc..78ec4c7 100644 (file)
 #include <stdexcept>
 
 #include <folly/FBString.h>
-#include <folly/Hash.h>
 #include <folly/Optional.h>
 #include <folly/Range.h>
 #include <folly/detail/IPAddress.h>
+#include <folly/hash/Hash.h>
 
 namespace folly {
 
index 40e9dad..01a9d5d 100644 (file)
 #include <folly/Demangle.h>
 #include <folly/Exception.h>
 #include <folly/Executor.h>
-#include <folly/Hash.h>
 #include <folly/Memory.h>
 #include <folly/RWSpinLock.h>
 #include <folly/Synchronized.h>
 #include <folly/detail/StaticSingletonManager.h>
 #include <folly/experimental/ReadMostlySharedPtr.h>
+#include <folly/hash/Hash.h>
 
 #include <algorithm>
 #include <atomic>
index 6cb5a7a..af6cd77 100644 (file)
@@ -32,7 +32,7 @@
 #include <folly/CppAttributes.h>
 #include <folly/Exception.h>
 #include <folly/Format.h>
-#include <folly/Hash.h>
+#include <folly/hash/Hash.h>
 
 namespace {
 
index 6445eef..50d57c2 100644 (file)
@@ -22,7 +22,7 @@
 #include <tuple>
 
 #include <folly/Conv.h>
-#include <folly/Hash.h>
+#include <folly/hash/Hash.h>
 
 namespace folly {
 
index 457e107..caae239 100644 (file)
 #include <unordered_map>
 #include <vector>
 
-#include <folly/Hash.h>
 #include <folly/Indestructible.h>
 #include <folly/Likely.h>
 #include <folly/Memory.h>
 #include <folly/Portability.h>
+#include <folly/hash/Hash.h>
 #include <folly/portability/BitsFunctexcept.h>
 #include <folly/portability/Memory.h>
 #include <folly/system/ThreadId.h>
index 8604a74..da7a04d 100644 (file)
@@ -16,8 +16,8 @@
 
 #include <folly/detail/Futex.h>
 #include <boost/intrusive/list.hpp>
-#include <folly/Hash.h>
 #include <folly/ScopeGuard.h>
+#include <folly/hash/Hash.h>
 #include <folly/portability/SysSyscall.h>
 #include <stdint.h>
 #include <string.h>
index 1a8fe3a..1cabfec 100644 (file)
@@ -20,9 +20,9 @@
 #include <chrono>
 
 #include <folly/AtomicStruct.h>
-#include <folly/Hash.h>
 #include <folly/Traits.h>
 #include <folly/detail/Futex.h>
+#include <folly/hash/Hash.h>
 #include <folly/system/ThreadId.h>
 
 namespace folly {
index f2be8f2..8c25017 100644 (file)
@@ -17,7 +17,7 @@
 #include <folly/dynamic.h>
 
 #include <folly/Format.h>
-#include <folly/Hash.h>
+#include <folly/hash/Hash.h>
 #include <folly/lang/Assume.h>
 #include <folly/portability/BitsFunctexcept.h>
 
index 59dc4bc..35d3e30 100644 (file)
 
 #include <folly/Function.h>
 #include <folly/Range.h>
-#include <folly/Hash.h>
+#include <folly/hash/Hash.h>
 #include <chrono>
 #include <condition_variable>
 #include <mutex>
 #include <thread>
-#include <vector>
 #include <unordered_map>
+#include <vector>
 
 namespace folly {
 
index 41180cb..4cf33b4 100644 (file)
@@ -24,9 +24,9 @@
 #include <unordered_map>
 #include <utility>
 
-#include <folly/Hash.h>
 #include <folly/Range.h>
 #include <folly/experimental/StringKeyedCommon.h>
+#include <folly/hash/Hash.h>
 
 namespace folly {
 
index 11317ed..269d2e6 100644 (file)
@@ -24,9 +24,9 @@
 #include <unordered_set>
 #include <utility>
 
-#include <folly/Hash.h>
 #include <folly/Range.h>
 #include <folly/experimental/StringKeyedCommon.h>
+#include <folly/hash/Hash.h>
 
 namespace folly {
 
index b9d7d96..57a36cf 100644 (file)
@@ -29,9 +29,9 @@
 #include <boost/operators.hpp>
 #include <glog/logging.h>
 
-#include <folly/Hash.h>
 #include <folly/Range.h>
 #include <folly/experimental/symbolizer/Elf.h>
+#include <folly/hash/Hash.h>
 
 namespace folly {
 namespace symbolizer {