Set IndentPPDirectives to "None" on clang-format

This commit is contained in:
gabime
2025-11-28 18:40:49 +02:00
parent 6004e3d14a
commit b3688ba102
83 changed files with 486 additions and 490 deletions

View File

@@ -11,11 +11,11 @@
#include "spdlog/sinks/basic_file_sink.h"
#if defined(SPDLOG_USE_STD_FORMAT)
#include <format>
#include <format>
#elif defined(SPDLOG_FMT_EXTERNAL)
#include <fmt/format.h>
#include <fmt/format.h>
#else
#include "spdlog/fmt/bundled/format.h"
#include "spdlog/fmt/bundled/format.h"
#endif
#include "utils.h"
@@ -34,9 +34,9 @@ using namespace utils;
void bench_mt(int howmany, std::shared_ptr<spdlog::logger> log, int thread_count);
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4996) // disable fopen warning under msvc
#endif // _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4996) // disable fopen warning under msvc
#endif // _MSC_VER
int count_lines(const char *filename) {
int counter = 0;
@@ -62,7 +62,7 @@ void verify_file(const char *filename, int expected_count) {
}
#ifdef _MSC_VER
#pragma warning(pop)
#pragma warning(pop)
#endif
int main(int argc, char *argv[]) {