Skip to content

Commit 893dbf2

Browse files
committed
Remove cppcoreguidelines-pro-type-member-init linting
1 parent bd2a961 commit 893dbf2

File tree

5 files changed

+1
-9
lines changed

5 files changed

+1
-9
lines changed

.clang-tidy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Checks: >
1212
1313
# Specific high-value checks (even if not in a group above)
1414
google-runtime-int,
15-
cppcoreguidelines-pro-type-member-init,
1615
1716
# Exclusions/Suppressions (Checks often considered too aggressive or subjective)
1817
-bugprone-throwing-static-initialization,

src/ipc/broad_phase/aabb.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
namespace ipc {
1111

12-
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1312
AABB::AABB(Eigen::ConstRef<ArrayMax3d> _min, Eigen::ConstRef<ArrayMax3d> _max)
1413
: min(Eigen::Array3d::Zero())
1514
, max(Eigen::Array3d::Zero())

src/ipc/broad_phase/aabb.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,17 @@
99
namespace ipc {
1010

1111
/// @brief Axis aligned bounding-box of some type
12-
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1312
class alignas(64) AABB {
1413
public:
15-
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1614
AABB() = default;
1715

1816
AABB(Eigen::ConstRef<ArrayMax3d> min, Eigen::ConstRef<ArrayMax3d> max);
1917

20-
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
2118
AABB(const AABB& aabb1, const AABB& aabb2)
2219
: AABB(aabb1.min.min(aabb2.min), aabb1.max.max(aabb2.max))
2320
{
2421
}
2522

26-
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
2723
AABB(const AABB& aabb1, const AABB& aabb2, const AABB& aabb3)
2824
: AABB(
2925
aabb1.min.min(aabb2.min).min(aabb3.min),

src/ipc/broad_phase/lbvh.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@
88
namespace ipc {
99

1010
/// @brief Linear Bounding Volume Hierarchy (LBVH) broad phase collision detection.
11-
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1211
class LBVH : public BroadPhase {
1312
public:
1413
static constexpr index_t INVALID_ID = 0xFFFFFFFF;
1514

16-
// NOLINTNEXTLINE(cppcoreguidelines-pro-type-member-init)
1715
struct alignas(32) Node {
1816
static constexpr int32_t INVALID_POINTER = 0x0; // do not change
1917

src/ipc/utils/eigen_ext.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ static const Eigen::IOFormat OBJ_VERTEX_FORMAT = Eigen::IOFormat(
262262
#if EIGEN_VERSION_AT_LEAST(3, 4, 90)
263263
namespace Eigen {
264264
// Move all back to the root namespace for compatibility with older versions
265-
static const Eigen::internal::all_t all = indexing::all;
265+
static const Eigen::internal::all_t all = indexing::all; // NOLINT
266266
} // namespace Eigen
267267
#endif
268268

0 commit comments

Comments
 (0)