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 /src/catch2/internal/catch_enum_values_registry.cpp | |
| 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 'src/catch2/internal/catch_enum_values_registry.cpp')
| -rw-r--r-- | src/catch2/internal/catch_enum_values_registry.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/catch2/internal/catch_enum_values_registry.cpp b/src/catch2/internal/catch_enum_values_registry.cpp index 7e7deb87..4e410f93 100644 --- a/src/catch2/internal/catch_enum_values_registry.cpp +++ b/src/catch2/internal/catch_enum_values_registry.cpp @@ -9,7 +9,6 @@ #include <catch2/internal/catch_string_manip.hpp> #include <catch2/internal/catch_stream.hpp> -#include <map> #include <cassert> namespace Catch { |