ci: Check that #include "*.h" works as a single include

Lesser form of include-what-you-use: at least guarantees that header
file did not forget to include something through some other included
file.

Activate run_single_includes_tests on CI.
Fix some IWYU violations.

References #5321
This commit is contained in:
Eiichi NISHINA
2017-02-12 02:10:53 +09:00
committed by Justin M. Keyes
parent 7bc37ffb22
commit 62774e4356
13 changed files with 153 additions and 33 deletions

View File

@@ -2,6 +2,7 @@
#define NVIM_EX_DOCMD_H
#include "nvim/ex_cmds_defs.h"
#include "nvim/globals.h"
// flags for do_cmdline()
#define DOCMD_VERBOSE 0x01 // included command in error message