mirror of
https://github.com/neovim/neovim.git
synced 2025-11-28 21:20:45 +00:00
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.
16 lines
440 B
C
16 lines
440 B
C
// This is an open source non-commercial project. Dear PVS-Studio, please check
|
|
// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
|
|
|
|
#include <stddef.h>
|
|
|
|
#include "nvim/eval/gc.h"
|
|
|
|
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
|
# include "eval/gc.c.generated.h" // IWYU pragma: export
|
|
#endif
|
|
|
|
/// Head of list of all dictionaries
|
|
dict_T *gc_first_dict = NULL;
|
|
/// Head of list of all lists
|
|
list_T *gc_first_list = NULL;
|