Update code style docs with IWYU info

Signed-off-by: Michael Richters <gedankenexperimenter@gmail.com>
pull/1158/head
Michael Richters 3 years ago
parent ca0f80d607
commit 8af3584ea8
No known key found for this signature in database
GPG Key ID: 1288FD13E4EEF0C0

@ -390,6 +390,10 @@ If a plugin library has symbols meant to be exported, and more than one header f
#include "kaleidoscope/plugin/something/Helper.h" #include "kaleidoscope/plugin/something/Helper.h"
``` ```
### Automated header includes checking
We have an automated wrapper for the `include-what-you-use` program from LLVM that processes most Kaleidoscope source files and updates their header includes to comply with the style guide. It requires at least version 0.18 of `include-what-you-use` in order to function properly (because earlier versions do not return a useful exit code, so determining if there was an error was difficult). It can be run by using the `make check-includes` target in the Kaleidoscope Makefile.
<!-- TODO: Finish converting the rest... --> <!-- TODO: Finish converting the rest... -->
## Scoping ## Scoping

Loading…
Cancel
Save