Skip to content

Commit

Permalink
Fix includes
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickKa committed Dec 13, 2024
1 parent de6144e commit de3e046
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 5 deletions.
2 changes: 0 additions & 2 deletions Sts1CobcSw/CobcSoftware/CommandParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
#include <Sts1CobcSw/Serial/Serial.hpp>
#include <Sts1CobcSw/Utility/DebugPrint.hpp>

#include <strong_type/type.hpp>

#include <cinttypes> // IWYU pragma: keep


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <Sts1CobcSw/Periphery/Spis.hpp>
#include <Sts1CobcSw/Utility/DebugPrint.hpp>
#include <Sts1CobcSw/Utility/ErrorDetectionAndCorrection.hpp>
#include <Sts1CobcSw/Utility/TimeTypes.hpp>

#include <strong_type/affine_point.hpp>
#include <strong_type/difference.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@


#include <Sts1CobcSw/Utility/RodosTime.hpp>
#include <Sts1CobcSw/Utility/TimeTypes.hpp>

#include <strong_type/difference.hpp>


namespace sts1cobcsw
Expand Down
2 changes: 0 additions & 2 deletions Sts1CobcSw/Edu/EduMock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#include <Sts1CobcSw/Edu/Types.hpp>
#include <Sts1CobcSw/Utility/DebugPrint.hpp>

#include <strong_type/type.hpp>

#include <cinttypes> // IWYU pragma: keep


Expand Down
1 change: 1 addition & 0 deletions Tests/HardwareTests/SpiSupervisor.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <Sts1CobcSw/Utility/Span.hpp>

#include <strong_type/difference.hpp>
#include <strong_type/type.hpp>

#include <rodos/support/support-libs/random.h>
#include <rodos_no_using_namespace.h>
Expand Down
1 change: 1 addition & 0 deletions Tests/UnitTests/EdacVariable.test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include <Sts1CobcSw/Utility/ErrorDetectionAndCorrection.hpp>

#include <algorithm>
#include <array>
#include <cmath>
#include <cstring>
Expand Down
2 changes: 2 additions & 0 deletions iwyu.imp
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,6 @@
# Fixing iwyu bug where <tuple> is required to be include for array symbol
# unfortunately, the `symbol` directive does not work
{ include: ["<tuple>", "public", "<array>", "public"] },

{ include: ["<bits/std_abs.h>", "public", "<cmath>", "public"] },
]

0 comments on commit de3e046

Please sign in to comment.