Commit f9cf216a authored by Lucian Grijincu's avatar Lucian Grijincu Committed by Facebook Github Bot

folly: uniform #include <folly/...>

Reviewed By: yfeldblum

Differential Revision: D7721840

fbshipit-source-id: f816ba58da290e05d257447c42472d5fa99915e3
parent b8c761b1
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#pragma GCC system_header #pragma GCC system_header
#include "basic_fbstring_malloc.h" // @manual #include <basic_fbstring_malloc.h> // @manual
// When used as std::string replacement always disable assertions. // When used as std::string replacement always disable assertions.
#define FBSTRING_ASSERT(expr) /* empty */ #define FBSTRING_ASSERT(expr) /* empty */
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "ScopeGuard.h" #include <folly/ScopeGuard.h>
#include <iostream> #include <iostream>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "SerialExecutor.h" #include <folly/executors/SerialExecutor.h>
#include <mutex> #include <mutex>
#include <queue> #include <queue>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "folly/experimental/ThreadedRepeatingFunctionRunner.h" #include <folly/experimental/ThreadedRepeatingFunctionRunner.h>
#include <folly/system/ThreadName.h> #include <folly/system/ThreadName.h>
#include <glog/logging.h> #include <glog/logging.h>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "hazptr.h" #include <folly/experimental/hazptr/hazptr.h>
namespace folly { namespace folly {
namespace hazptr { namespace hazptr {
......
...@@ -331,4 +331,4 @@ class hazptr_local { ...@@ -331,4 +331,4 @@ class hazptr_local {
} // namespace hazptr } // namespace hazptr
} // namespace folly } // namespace folly
#include "hazptr-impl.h" #include <folly/experimental/hazptr/hazptr-impl.h>
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "memory_resource.h" #include <folly/experimental/hazptr/memory_resource.h>
namespace folly { namespace folly {
namespace hazptr { namespace hazptr {
......
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
#include <folly/Format.h> #include <folly/Format.h>
#include <folly/portability/GTest.h> #include <folly/portability/GTest.h>
#include "a.h" #include <folly/experimental/settings/test/a.h>
#include "b.h" #include <folly/experimental/settings/test/b.h>
namespace some_ns { namespace some_ns {
FOLLY_SETTING_DEFINE( FOLLY_SETTING_DEFINE(
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "a.h" #include <folly/experimental/settings/test/a.h>
#include <folly/experimental/settings/Settings.h> #include <folly/experimental/settings/Settings.h>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "b.h" #include <folly/experimental/settings/test/b.h>
#include <folly/experimental/settings/Settings.h> #include <folly/experimental/settings/Settings.h>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "folly/experimental/ThreadedRepeatingFunctionRunner.h" #include <folly/experimental/ThreadedRepeatingFunctionRunner.h>
#include <folly/portability/GTest.h> #include <folly/portability/GTest.h>
#include <atomic> #include <atomic>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "Baton.h" #include <folly/fibers/Baton.h>
#include <chrono> #include <chrono>
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#pragma once #pragma once
#include "folly/fibers/TimedMutex.h" #include <folly/fibers/TimedMutex.h>
#include "folly/synchronization/CallOnce.h" #include <folly/synchronization/CallOnce.h>
namespace folly { namespace folly {
namespace fibers { namespace fibers {
......
...@@ -78,4 +78,4 @@ class EventBaseLoopController : public LoopController { ...@@ -78,4 +78,4 @@ class EventBaseLoopController : public LoopController {
} // namespace fibers } // namespace fibers
} // namespace folly } // namespace folly
#include "EventBaseLoopController-inl.h" #include <folly/fibers/EventBaseLoopController-inl.h>
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "Fiber.h" #include <folly/fibers/Fiber.h>
#include <glog/logging.h> #include <glog/logging.h>
#include <algorithm> #include <algorithm>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "FiberManagerInternal.h" #include <folly/fibers/FiberManagerInternal.h>
#include <signal.h> #include <signal.h>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "FiberManagerMap.h" #include <folly/fibers/FiberManagerMap.h>
#include <memory> #include <memory>
#include <unordered_map> #include <unordered_map>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "GuardPageAllocator.h" #include <folly/fibers/GuardPageAllocator.h>
#ifndef _WIN32 #ifndef _WIN32
#include <dlfcn.h> #include <dlfcn.h>
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "Semaphore.h" #include <folly/fibers/Semaphore.h>
namespace folly { namespace folly {
namespace fibers { namespace fibers {
......
...@@ -231,4 +231,4 @@ class TimedRWMutex { ...@@ -231,4 +231,4 @@ class TimedRWMutex {
} // namespace fibers } // namespace fibers
} // namespace folly } // namespace folly
#include "TimedMutex-inl.h" #include <folly/fibers/TimedMutex-inl.h>
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "TimeoutController.h" #include <folly/fibers/TimeoutController.h>
#include <folly/Memory.h> #include <folly/Memory.h>
namespace folly { namespace folly {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "AtomicBatchDispatcher.h" #include <folly/fibers/detail/AtomicBatchDispatcher.h>
#include <folly/Format.h> #include <folly/Format.h>
namespace folly { namespace folly {
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "ThreadWheelTimekeeper.h" #include <folly/futures/ThreadWheelTimekeeper.h>
#include <folly/Singleton.h> #include <folly/Singleton.h>
#include <folly/futures/Future.h> #include <folly/futures/Future.h>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <folly/futures/Future.h> #include <folly/futures/Future.h>
#include "Koan.h" #include <folly/futures/exercises/Koan.h>
using folly::Future; using folly::Future;
using folly::makeFuture; using folly::makeFuture;
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "Koan.h" #include <folly/futures/exercises/Koan.h>
int main(int argc, char** argv) { int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv); ::testing::InitGoogleTest(&argc, argv);
......
...@@ -19,9 +19,9 @@ ...@@ -19,9 +19,9 @@
#include <vector> #include <vector>
#include <folly/futures/Retrying.h> #include <folly/futures/Retrying.h>
#include <folly/futures/test/TestExecutor.h>
#include <folly/portability/GTest.h> #include <folly/portability/GTest.h>
#include <folly/portability/SysResource.h> #include <folly/portability/SysResource.h>
#include "TestExecutor.h"
using namespace std; using namespace std;
using namespace std::chrono; using namespace std::chrono;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "TestExecutor.h" #include <folly/futures/test/TestExecutor.h>
using namespace std; using namespace std;
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
* limitations under the License. * limitations under the License.
*/ */
#include <folly/futures/test/TestExecutor.h>
#include <folly/portability/GTest.h> #include <folly/portability/GTest.h>
#include "TestExecutor.h"
using namespace std; using namespace std;
using namespace std::chrono; using namespace std::chrono;
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "folly/io/async/AsyncSocketException.h" #include <folly/io/async/AsyncSocketException.h>
#include <folly/Format.h> #include <folly/Format.h>
#include <folly/String.h> #include <folly/String.h>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "SSLContext.h" #include <folly/io/async/SSLContext.h>
#include <folly/Format.h> #include <folly/Format.h>
#include <folly/Memory.h> #include <folly/Memory.h>
......
...@@ -13,6 +13,6 @@ ...@@ -13,6 +13,6 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
#include "ColdClass.h" #include <folly/lang/ColdClass.h>
folly::cold_detail::ColdClass::ColdClass() noexcept {} folly::cold_detail::ColdClass::ColdClass() noexcept {}
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "folly/memory/UninitializedMemoryHacks.h" #include <folly/memory/UninitializedMemoryHacks.h>
// Verify that this is okay to put in multiple translation units // Verify that this is okay to put in multiple translation units
FOLLY_DECLARE_VECTOR_RESIZE_WITHOUT_INIT(int) FOLLY_DECLARE_VECTOR_RESIZE_WITHOUT_INIT(int)
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "folly/memory/UninitializedMemoryHacks.h" #include <folly/memory/UninitializedMemoryHacks.h>
#include <algorithm> #include <algorithm>
#include <string> #include <string>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "SysMembarrier.h" #include <folly/portability/SysMembarrier.h>
#include <mutex> #include <mutex>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#include "AsymmetricMemoryBarrier.h" #include <folly/synchronization/AsymmetricMemoryBarrier.h>
#include <folly/Exception.h> #include <folly/Exception.h>
#include <folly/Indestructible.h> #include <folly/Indestructible.h>
......
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