bitfield.cpp.iwyu_out (983B)
1 2 (src/libshit/bitfield.hpp has correct #includes/fwd-decls) 3 4 test/bitfield.cpp should add these lines: 5 namespace Libshit { namespace { struct Bool1; } } 6 namespace Libshit { namespace { struct Bool2; } } 7 namespace Libshit { namespace { struct Enum1; } } 8 namespace Libshit { namespace { struct Enum2; } } 9 namespace Libshit { namespace { struct Enum3; } } 10 namespace Libshit { namespace { struct OptBool; } } 11 namespace Libshit { namespace { struct UInt; } } 12 13 test/bitfield.cpp should remove these lines: 14 15 The full include-list for test/bitfield.cpp: 16 #include "libshit/bitfield.hpp" 17 #include <cstdint> 18 #include "libshit/doctest.hpp" 19 namespace Libshit { namespace { struct Bool1; } } 20 namespace Libshit { namespace { struct Bool2; } } 21 namespace Libshit { namespace { struct Enum1; } } 22 namespace Libshit { namespace { struct Enum2; } } 23 namespace Libshit { namespace { struct Enum3; } } 24 namespace Libshit { namespace { struct OptBool; } } 25 namespace Libshit { namespace { struct UInt; } } 26 ---