mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 13:53:10 +00:00
IWYU
This commit is contained in:
parent
d84443e4a8
commit
168d74ab0e
3 changed files with 2 additions and 2 deletions
|
@ -6,6 +6,7 @@
|
||||||
#include <climits>
|
#include <climits>
|
||||||
#include <cstdarg>
|
#include <cstdarg>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
|
#include <cstdint>
|
||||||
#include <cwchar>
|
#include <cwchar>
|
||||||
#include <cwctype>
|
#include <cwctype>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
|
@ -9,10 +9,10 @@
|
||||||
#include <errno.h> // IWYU pragma: keep
|
#include <errno.h> // IWYU pragma: keep
|
||||||
#include <fcntl.h> // IWYU pragma: keep
|
#include <fcntl.h> // IWYU pragma: keep
|
||||||
#include <limits.h> // IWYU pragma: keep
|
#include <limits.h> // IWYU pragma: keep
|
||||||
#include <unistd.h>
|
|
||||||
#include <wctype.h>
|
#include <wctype.h>
|
||||||
|
|
||||||
#include <cwchar>
|
#include <cwchar>
|
||||||
|
#include <cstdlib>
|
||||||
#if HAVE_GETTEXT
|
#if HAVE_GETTEXT
|
||||||
#include <libintl.h>
|
#include <libintl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include <stdint.h>
|
|
||||||
// The following include must be kept despite what IWYU says. That's because of the interaction
|
// The following include must be kept despite what IWYU says. That's because of the interaction
|
||||||
// between the weak linking of `wcscasecmp` via `#define`s below and the declarations
|
// between the weak linking of `wcscasecmp` via `#define`s below and the declarations
|
||||||
// in <wchar.h>. At least on OS X if we don't do this we get compilation errors do to the macro
|
// in <wchar.h>. At least on OS X if we don't do this we get compilation errors do to the macro
|
||||||
|
|
Loading…
Reference in a new issue