Skip to content

More Sonar Cleanup (round 5) - #8732

Merged
sithlord48 merged 8 commits into
masterfrom
sonarCleanup_4
Jul 3, 2025
Merged

More Sonar Cleanup (round 5)#8732
sithlord48 merged 8 commits into
masterfrom
sonarCleanup_4

Conversation

@sithlord48

@sithlord48 sithlord48 commented Jun 30, 2025

Copy link
Copy Markdown
Member

Clean up more sonar issues

  • IArchMultiThread::ESignal Make a enum class and rename to ThreadSignal, conform members names.
  • IArchNetwork::EAddressFamily make enum class and rename to AddressFamily, conform members names.
  • IArchNetwork::EStreamType make enum class and rename to StreamType, conform members names.
  • Anonymous enum in IArchNetwork new set of static variables, in new PollEventMask struct
  • Add using enum EventTypes in places with 3 or more events
  • Move throwError and throwNameError into IArchNetwork
  • Make throwError and throwNameError [[noreturn]]

@sithlord48
sithlord48 force-pushed the sonarCleanup_4 branch 9 times, most recently from cd60592 to fd6ddd1 Compare July 1, 2025 04:16
@sithlord48
sithlord48 marked this pull request as ready for review July 1, 2025 05:36
@sithlord48
sithlord48 force-pushed the sonarCleanup_4 branch 3 times, most recently from 9176c83 to 7f74f50 Compare July 1, 2025 14:00
@sithlord48
sithlord48 requested a review from nbolton July 1, 2025 14:06
nbolton
nbolton previously approved these changes Jul 2, 2025

@nbolton nbolton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good as is, only one minor nit. Up to you if you land or fix now.

Comment thread src/lib/arch/IArchMultithread.h Outdated
Comment thread src/lib/deskflow/ServerApp.cpp
@sithlord48

Copy link
Copy Markdown
Member Author

Good as is, only one minor nit. Up to you if you land or fix now.

Ok updated with your suggestion and if the build passes ill land it.

@sithlord48 sithlord48 changed the title Clean up more sonar issues SonarCleanup_5 Jul 3, 2025
@sithlord48
sithlord48 disabled auto-merge July 3, 2025 03:11
@sithlord48 sithlord48 changed the title SonarCleanup_5 More Sonar Cleanup (round 5) Jul 3, 2025
@sithlord48
sithlord48 merged commit 7fe5074 into master Jul 3, 2025
33 checks passed
@sithlord48
sithlord48 deleted the sonarCleanup_4 branch July 3, 2025 03:24
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.

2 participants