Skip to content

Rotary ns 2#70

Closed
nshehz wants to merge 23 commits into
masterfrom
rotary_ns_2
Closed

Rotary ns 2#70
nshehz wants to merge 23 commits into
masterfrom
rotary_ns_2

Conversation

@nshehz

@nshehz nshehz commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@nshehz nshehz requested a review from phako June 5, 2026 09:12
Comment thread backend/src/MotorControlerImpl.cc
Comment thread steppermotor/src/RotaryStepperMotor.cc
@phako

phako commented Jun 8, 2026

Copy link
Copy Markdown
Member

Please squash the commits before merging

@nshehz nshehz requested a review from phako June 10, 2026 12:06
@nshehz nshehz force-pushed the rotary_ns_2 branch 2 times, most recently from ef74ad8 to 44f83aa Compare June 11, 2026 15:24
killenb and others added 22 commits June 11, 2026 17:49
…eaders

Refactor copyright and license checks in header files to ensure correct order and presence of SPDX identifiers and #pragma once.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Doxygen does not expand the macros which were used for function declaration and complained that there is no declaration for those functions.
- Don't use included boost tests. They have asan issues.
  As the old style with manual test suites does not work in the new scheme,
  all tests have been moved to auto tests.
clang-tidy-14 does not support C++23 and thus was not working any more
- switch to new syntax for readability
- no functional changes
- remove 'portability-avoid-pragma-once'. Our style require pragma-once
- remove 'portability-template-virtual-member-function'. We want and need template virtual member functions.(*)
- activate 'misc-include-cleaner' to warn for unused headers
- add 'clang-diagnostic-*'. This covers clang compliler warnings. As we have -Wall activated, this entry exceptionally has a wild card so we get the clang compiler warnings in the linter in case we are compiling with g++.
  -- remove 'missing-noreturn'. It is a clang compiler flag, not a clang-tidy flag. It is covered by 'clang-diagnostic-missing-noreturn'
- use 'modernize-use-ranges' (std::ranges) instead of 'boost-use-ranges'

(*) It was introduced because someone had broken code that was not instantiated by some compilers and then compilation failed on other compilers. But the issue was the broken code, not the virtual member function. Pretty useless feature.
The namespaced alias for libraries was added twice. When using CMAKE_MINIMUM_REQUIRED 3.18 or higher this causes an error.
@nshehz

nshehz commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

created clean branch and merged.

@nshehz nshehz closed this Jun 11, 2026
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.

4 participants