Commit f6ed4a26 authored by Yedidya Feldblum's avatar Yedidya Feldblum Committed by Facebook Github Bot

Move folly/BitIterator.h to folly/container/

Summary: [Folly] Move `folly/BitIterator.h` to `folly/container/`.

Reviewed By: djwatson

Differential Revision: D6648357

fbshipit-source-id: 5617e3210f58435fcbf3ef07fa745da47dbce475
parent d41f4cc9
...@@ -337,6 +337,7 @@ if (BUILD_TESTS) ...@@ -337,6 +337,7 @@ if (BUILD_TESTS)
DIRECTORY container/test/ DIRECTORY container/test/
TEST access_test SOURCES AccessTest.cpp TEST access_test SOURCES AccessTest.cpp
TEST array_test SOURCES ArrayTest.cpp TEST array_test SOURCES ArrayTest.cpp
TEST bit_iterator_test SOURCES BitIteratorTest.cpp
TEST enumerate_test SOURCES EnumerateTest.cpp TEST enumerate_test SOURCES EnumerateTest.cpp
TEST evicting_cache_map_test SOURCES EvictingCacheMapTest.cpp TEST evicting_cache_map_test SOURCES EvictingCacheMapTest.cpp
TEST foreach_test SOURCES ForeachTest.cpp TEST foreach_test SOURCES ForeachTest.cpp
...@@ -563,7 +564,6 @@ if (BUILD_TESTS) ...@@ -563,7 +564,6 @@ if (BUILD_TESTS)
TEST atomic_linked_list_test SOURCES AtomicLinkedListTest.cpp TEST atomic_linked_list_test SOURCES AtomicLinkedListTest.cpp
TEST atomic_struct_test SOURCES AtomicStructTest.cpp TEST atomic_struct_test SOURCES AtomicStructTest.cpp
TEST atomic_unordered_map_test SOURCES AtomicUnorderedMapTest.cpp TEST atomic_unordered_map_test SOURCES AtomicUnorderedMapTest.cpp
TEST bit_iterator_test SOURCES BitIteratorTest.cpp
TEST cacheline_padded_test SOURCES CachelinePaddedTest.cpp TEST cacheline_padded_test SOURCES CachelinePaddedTest.cpp
TEST clock_gettime_wrappers_test SOURCES ClockGettimeWrappersTest.cpp TEST clock_gettime_wrappers_test SOURCES ClockGettimeWrappersTest.cpp
TEST concurrent_skip_list_test SOURCES ConcurrentSkipListTest.cpp TEST concurrent_skip_list_test SOURCES ConcurrentSkipListTest.cpp
......
...@@ -57,6 +57,7 @@ nobase_follyinclude_HEADERS = \ ...@@ -57,6 +57,7 @@ nobase_follyinclude_HEADERS = \
concurrency/UnboundedQueue.h \ concurrency/UnboundedQueue.h \
container/Access.h \ container/Access.h \
container/Array.h \ container/Array.h \
container/detail/BitIteratorDetail.h \
container/Iterator.h \ container/Iterator.h \
container/Enumerate.h \ container/Enumerate.h \
container/EvictingCacheMap.h \ container/EvictingCacheMap.h \
...@@ -67,7 +68,6 @@ nobase_follyinclude_HEADERS = \ ...@@ -67,7 +68,6 @@ nobase_follyinclude_HEADERS = \
detail/AtFork.h \ detail/AtFork.h \
detail/AtomicHashUtils.h \ detail/AtomicHashUtils.h \
detail/AtomicUnorderedMapUtils.h \ detail/AtomicUnorderedMapUtils.h \
detail/BitIteratorDetail.h \
detail/DiscriminatedPtrDetail.h \ detail/DiscriminatedPtrDetail.h \
detail/FileUtilDetail.h \ detail/FileUtilDetail.h \
detail/FingerprintPolynomial.h \ detail/FingerprintPolynomial.h \
......
/* /*
* Copyright 2017 Facebook, Inc. * Copyright 2011-present Facebook, Inc.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
#include <boost/iterator/iterator_adaptor.hpp> #include <boost/iterator/iterator_adaptor.hpp>
#include <folly/Portability.h> #include <folly/Portability.h>
#include <folly/detail/BitIteratorDetail.h> #include <folly/container/detail/BitIteratorDetail.h>
#include <folly/lang/Bits.h> #include <folly/lang/Bits.h>
namespace folly { namespace folly {
......
/* /*
* Copyright 2017 Facebook, Inc. * Copyright 2011-present Facebook, Inc.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
......
/* /*
* Copyright 2017 Facebook, Inc. * Copyright 2011-present Facebook, Inc.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include <folly/BitIterator.h> #include <folly/container/BitIterator.h>
#include <algorithm> #include <algorithm>
#include <limits> #include <limits>
......
...@@ -17,10 +17,10 @@ ...@@ -17,10 +17,10 @@
#include <folly/io/async/HHWheelTimer.h> #include <folly/io/async/HHWheelTimer.h>
#include <folly/io/async/Request.h> #include <folly/io/async/Request.h>
#include <folly/BitIterator.h>
#include <folly/Memory.h> #include <folly/Memory.h>
#include <folly/Optional.h> #include <folly/Optional.h>
#include <folly/ScopeGuard.h> #include <folly/ScopeGuard.h>
#include <folly/container/BitIterator.h>
#include <folly/lang/Bits.h> #include <folly/lang/Bits.h>
......
...@@ -18,11 +18,11 @@ ...@@ -18,11 +18,11 @@
#include <string> #include <string>
#include <folly/BitIterator.h>
#include <folly/Format.h> #include <folly/Format.h>
#include <folly/IPAddress.h> #include <folly/IPAddress.h>
#include <folly/MacAddress.h> #include <folly/MacAddress.h>
#include <folly/String.h> #include <folly/String.h>
#include <folly/container/BitIterator.h>
#include <folly/detail/IPAddressSource.h> #include <folly/detail/IPAddressSource.h>
#include <folly/lang/Bits.h> #include <folly/lang/Bits.h>
#include <folly/portability/GMock.h> #include <folly/portability/GMock.h>
......
...@@ -170,7 +170,7 @@ bits_test_SOURCES = ../lang/test/BitsTest.cpp ...@@ -170,7 +170,7 @@ bits_test_SOURCES = ../lang/test/BitsTest.cpp
bits_test_LDADD = libfollytestmain.la $(top_builddir)/libfollybenchmark.la bits_test_LDADD = libfollytestmain.la $(top_builddir)/libfollybenchmark.la
TESTS += bits_test TESTS += bits_test
bit_iterator_test_SOURCES = BitIteratorTest.cpp bit_iterator_test_SOURCES = ../container/test/BitIteratorTest.cpp
bit_iterator_test_LDADD = libfollytestmain.la $(top_builddir)/libfollybenchmark.la bit_iterator_test_LDADD = libfollytestmain.la $(top_builddir)/libfollybenchmark.la
TESTS += bit_iterator_test TESTS += bit_iterator_test
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment