From 66360675cf4d091b7460e4a8e1435c13216c1929 Mon Sep 17 00:00:00 2001 From: dundargoc Date: Sun, 11 Sep 2022 17:12:44 +0200 Subject: build: allow IWYU to fix includes for all .c files Allow Include What You Use to remove unnecessary includes and only include what is necessary. This helps with reducing compilation times and makes it easier to visualise which dependencies are actually required. Work on https://github.com/neovim/neovim/issues/549, but doesn't close it since this only works fully for .c files and not headers. --- src/nvim/memory.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/nvim/memory.h') diff --git a/src/nvim/memory.h b/src/nvim/memory.h index 5c3d18ac93..5b9798dc0d 100644 --- a/src/nvim/memory.h +++ b/src/nvim/memory.h @@ -1,10 +1,10 @@ #ifndef NVIM_MEMORY_H #define NVIM_MEMORY_H -#include // for bool -#include // for size_t -#include // for uint8_t -#include // for time_t +#include +#include +#include +#include #include "nvim/macros.h" -- cgit