diff options
| author | Martin Hořeňovský | 2020-07-29 16:29:41 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-07-29 21:51:05 +0200 |
| commit | ed0ea3014942a952471ca32da466f5df213b5eb2 (patch) | |
| tree | 0bee82bf540fe9cf565a56c90246a4785adc07d1 /tools/scripts/checkLicense.py | |
| parent | 35098a62d8a8532a2f61ed28f5c097932b95fc23 (diff) | |
| download | catch3-ed0ea3014942a952471ca32da466f5df213b5eb2.tar.gz | |
Apply some IWYU suggestions
This is not nearly all of them, because IWYU does not support the
way Catch2 manages includes -- it expects that non-system includes
are done using `#include "foo/bar/baz.hpp"`, while Catch2 uses
`<foo/bar/baz.hpp>`. This causes trouble, because IWYU suggests
removing every single internal header, and then adding them again,
but using `""` in the include directive... the resulting suggestions
cannot be used without a lot of manual work, as they are largely
bogus.
For bonus points, IWYU also _loves_ to suggest kinda-random stdlib
headers for `size_t` and similar. Still, the resulting inclusion
graph is somewhat better than it was before.
Diffstat (limited to 'tools/scripts/checkLicense.py')
0 files changed, 0 insertions, 0 deletions