mirror of
https://github.com/fmtlib/fmt.git
synced 2026-04-30 19:09:22 +08:00
chore(IWYU):Remove redundant includes (#4758)
This commit is contained in:
parent
432fda7bfa
commit
d0e3d20af8
@ -18,9 +18,6 @@ extern "C" void __tsan_release(void*);
|
||||
|
||||
# include <algorithm>
|
||||
# include <cerrno> // errno
|
||||
# include <climits>
|
||||
# include <cmath>
|
||||
# include <exception>
|
||||
# include <new> // std::bad_alloc
|
||||
#endif
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -13,7 +13,6 @@
|
||||
|
||||
#include "fmt/format.h"
|
||||
#include "gmock/gmock.h"
|
||||
#include "util.h"
|
||||
|
||||
using fmt::detail::bigint;
|
||||
using fmt::detail::fp;
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user