Clang format sort includes

This commit is contained in:
gabime
2023-09-29 00:20:26 +03:00
parent a0e631802c
commit 463af69d41
81 changed files with 256 additions and 223 deletions

View File

@@ -1,15 +1,16 @@
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#include "spdlog/common.h"
#include "spdlog/details/file_helper.h"
#include "spdlog/details/os.h"
#include <cerrno>
#include <cstdio>
#include <string>
#include <tuple>
#include "spdlog/common.h"
#include "spdlog/details/os.h"
namespace spdlog {
namespace details {

View File

@@ -2,6 +2,7 @@
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#include "spdlog/details/log_msg.h"
#include "spdlog/details/os.h"
namespace spdlog {

View File

@@ -1,9 +1,10 @@
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#include "spdlog/common.h"
#include "spdlog/details/os.h"
#include <sys/stat.h>
#include <algorithm>
#include <array>
#include <chrono>
@@ -12,9 +13,11 @@
#include <cstring>
#include <ctime>
#include <string>
#include <sys/stat.h>
#include <thread>
#include "spdlog/common.h"
// clang-format off
#ifdef _WIN32
#include "spdlog/details/windows_include.h"
#include <fileapi.h> // for FlushFileBuffers
@@ -63,6 +66,7 @@
#define __has_feature(x) 0 // Compatibility with non-clang compilers.
#endif
// clang-format on
namespace spdlog {
namespace details {
namespace os {

View File

@@ -2,6 +2,7 @@
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#include "spdlog/details/registry.h"
#include "spdlog/common.h"
#include "spdlog/details/periodic_worker.h"
#include "spdlog/logger.h"

View File

@@ -1,10 +1,12 @@
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#include <cassert>
#include "spdlog/common.h"
#include "spdlog/details/thread_pool.h"
#include <cassert>
#include "spdlog/common.h"
namespace spdlog {
namespace details {