Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@gnawme
Copy link
Contributor

@gnawme gnawme commented Nov 5, 2025

Added new clang-tidy checks:

  1. bugprone-unhandled-self-assignment
  2. bugprone-unused-raii
  3. bugprone-use-after-move
  4. readability-make-member-function-const

Ran on Ubuntu 24.04 with this CMake configuration:

  cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
        -DCMAKE_CXX_COMPILER=clang-18 \
        -DCMAKE_C_COMPILER=clang-18 \
        -DBUILD_benchmarks=OFF \
        -DBUILD_examples=ON \
        -DBUILD_simulation=ON \
        -DBUILD_global_tests=ON ..

@gnawme gnawme force-pushed the norm.evangelista/new-bugprone-readability-checks branch from 5519e34 to 550239f Compare November 5, 2025 17:25
- Add self-assignment checks to 13 operator= methods (bugprone-unhandled-self-assignment)
- Add const qualifiers to 12 getter methods (readability-make-member-function-const)
- Remove unused RAII temporary in JointIterativeClosestPoint constructor (bugprone-unused-raii)
@gnawme gnawme force-pushed the norm.evangelista/new-bugprone-readability-checks branch from 550239f to b40a7c3 Compare November 5, 2025 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant