chore(IWYU):Remove redundant includes (#4758)

This commit is contained in:
Kağan Can Şit 2026-04-30 06:50:56 +03:00 committed by GitHub
parent 432fda7bfa
commit d0e3d20af8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 5 additions and 8 deletions

View File

@ -18,10 +18,7 @@ extern "C" void __tsan_release(void*);
# include <algorithm>
# include <cerrno> // errno
# include <climits>
# include <cmath>
# include <exception>
# include <new> // std::bad_alloc
# include <new> // std::bad_alloc
#endif
#if defined(_WIN32) && !defined(FMT_USE_WRITE_CONSOLE)

View File

@ -13,7 +13,6 @@
#include "fmt/os.h"
#ifndef FMT_MODULE
# include <climits>
# if FMT_USE_FCNTL
# include <sys/stat.h>
@ -35,6 +34,8 @@
# ifdef _WIN32
# include <windows.h>
# include <climits> // CHAR_BIT
# endif
#endif

View File

@ -13,7 +13,6 @@
#include "fmt/format.h"
#include "gmock/gmock.h"
#include "util.h"
using fmt::detail::bigint;
using fmt::detail::fp;

View File

@ -15,19 +15,19 @@
#include <errno.h>
#include <fcntl.h>
#include <climits>
#include <memory>
#include "../src/os.cc"
#ifdef _WIN32
# include <io.h>
# include <climits> // UINT_MAX
# undef max
#endif
#include "gmock/gmock.h"
#include "gtest-extra.h"
#include "util.h"
using fmt::buffered_file;