incubator-pegasus
incubator-pegasus copied to clipboard
Introduce IWYU
Why include what you use?
How ?
- [x] Introduce Ubuntu 22.04 to supported OS list
- [x] Use clang-14 on Ubuntu 22.04 to run IWYU, fix issues, add CI and make sure CI passed
- [ ] Use Pegasus special
fix_includes.py - [ ] Add mapping rules (see: https://github.com/include-what-you-use/include-what-you-use/blob/master/docs/IWYUMappings.md)
- [ ] Try to use C++ standard headers instead of C standard headers (e.g.
stdint.h->cstdint) - [ ] Separate C standard, C++ standard and thirdparty headers
- [ ] Speed up the workflow
The issue is open and welcome community developers to continue the works.