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)
DIRECTORY container/test/
TEST access_test SOURCES AccessTest.cpp
TEST array_test SOURCES ArrayTest.cpp
TEST bit_iterator_test SOURCES BitIteratorTest.cpp
TEST enumerate_test SOURCES EnumerateTest.cpp
TEST evicting_cache_map_test SOURCES EvictingCacheMapTest.cpp
TEST foreach_test SOURCES ForeachTest.cpp
......@@ -563,7 +564,6 @@ if (BUILD_TESTS)
TEST atomic_linked_list_test SOURCES AtomicLinkedListTest.cpp
TEST atomic_struct_test SOURCES AtomicStructTest.cpp
TEST atomic_unordered_map_test SOURCES AtomicUnorderedMapTest.cpp
TEST bit_iterator_test SOURCES BitIteratorTest.cpp
TEST cacheline_padded_test SOURCES CachelinePaddedTest.cpp
TEST clock_gettime_wrappers_test SOURCES ClockGettimeWrappersTest.cpp
TEST concurrent_skip_list_test SOURCES ConcurrentSkipListTest.cpp
......
......@@ -57,6 +57,7 @@ nobase_follyinclude_HEADERS = \
concurrency/UnboundedQueue.h \
container/Access.h \
container/Array.h \
container/detail/BitIteratorDetail.h \
container/Iterator.h \
container/Enumerate.h \
container/EvictingCacheMap.h \
......@@ -67,7 +68,6 @@ nobase_follyinclude_HEADERS = \
detail/AtFork.h \
detail/AtomicHashUtils.h \
detail/AtomicUnorderedMapUtils.h \
detail/BitIteratorDetail.h \
detail/DiscriminatedPtrDetail.h \
detail/FileUtilDetail.h \
detail/FingerprintPolynomial.h \
......
/*
* Copyright 2017 Facebook, Inc.
* Copyright 2011-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -39,7 +39,7 @@
#include <boost/iterator/iterator_adaptor.hpp>
#include <folly/Portability.h>
#include <folly/detail/BitIteratorDetail.h>
#include <folly/container/detail/BitIteratorDetail.h>
#include <folly/lang/Bits.h>
namespace folly {
......
/*
* Copyright 2017 Facebook, Inc.
* Copyright 2011-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (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");
* you may not use this file except in compliance with the License.
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
#include <folly/BitIterator.h>
#include <folly/container/BitIterator.h>
#include <algorithm>
#include <limits>
......
......@@ -17,10 +17,10 @@
#include <folly/io/async/HHWheelTimer.h>
#include <folly/io/async/Request.h>
#include <folly/BitIterator.h>
#include <folly/Memory.h>
#include <folly/Optional.h>
#include <folly/ScopeGuard.h>
#include <folly/container/BitIterator.h>
#include <folly/lang/Bits.h>
......
......@@ -18,11 +18,11 @@
#include <string>
#include <folly/BitIterator.h>
#include <folly/Format.h>
#include <folly/IPAddress.h>
#include <folly/MacAddress.h>
#include <folly/String.h>
#include <folly/container/BitIterator.h>
#include <folly/detail/IPAddressSource.h>
#include <folly/lang/Bits.h>
#include <folly/portability/GMock.h>
......
......@@ -170,7 +170,7 @@ bits_test_SOURCES = ../lang/test/BitsTest.cpp
bits_test_LDADD = libfollytestmain.la $(top_builddir)/libfollybenchmark.la
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
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