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_assertion_handler.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_assertion_handler.cpp')
| -rw-r--r-- | src/catch2/internal/catch_assertion_handler.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/catch2/internal/catch_assertion_handler.cpp b/src/catch2/internal/catch_assertion_handler.cpp index 54153462..b666ba31 100644 --- a/src/catch2/internal/catch_assertion_handler.cpp +++ b/src/catch2/internal/catch_assertion_handler.cpp @@ -7,8 +7,6 @@ */ #include <catch2/internal/catch_assertion_handler.hpp> -#include <catch2/catch_assertion_result.hpp> -#include <catch2/interfaces/catch_interfaces_runner.hpp> #include <catch2/interfaces/catch_interfaces_config.hpp> #include <catch2/internal/catch_context.hpp> #include <catch2/internal/catch_enforce.hpp> |