mirror of
https://github.com/fmtlib/fmt.git
synced 2025-12-11 22:20:02 +08:00
Add IWYU pragma to base.h
So clang-tidy is happy if you include <fmt/format.h> for fmt::formatter<T>.
This commit is contained in:
parent
407c905e45
commit
7578fb733b
@ -8,6 +8,8 @@
|
||||
#ifndef FMT_BASE_H_
|
||||
#define FMT_BASE_H_
|
||||
|
||||
// IWYU pragma: private, include "fmt/format.h"
|
||||
|
||||
#if defined(FMT_IMPORT_STD) && !defined(FMT_MODULE)
|
||||
# define FMT_MODULE
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user