-
Notifications
You must be signed in to change notification settings - Fork 681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clang-tidy fixes for Common++ #1639
base: dev
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #1639 +/- ##
==========================================
+ Coverage 83.15% 83.16% +0.01%
==========================================
Files 277 277
Lines 48193 48202 +9
Branches 9949 9922 -27
==========================================
+ Hits 40074 40088 +14
- Misses 7226 7265 +39
+ Partials 893 849 -44
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@egecetin please see this comment: #1637 (comment) |
@@ -21,4 +21,5 @@ BreakBeforeBraces: Custom | |||
BraceWrapping: | |||
SplitEmptyFunction: false | |||
AfterCaseLabel: true | |||
QualifierAlignment: Left |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RIP, const
on the right... I found that easier to read because its consistent behavior with its usage in the middle...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me check the codebase again. If most of them left it is better to split PR for changing it. Anyway, lets invite more people so we can decide which is better @seladb @tigercosmos @clementperon.
Note: We still have plenty of time because there are lots of warnings even for Common++ so it will take some time to fix PR :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the left one though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 3 out of 21 changed files in this pull request and generated no suggestions.
Files not reviewed (18)
- Common++/header/GeneralUtils.h: Language not supported
- Common++/header/IpAddress.h: Language not supported
- Common++/header/IpUtils.h: Language not supported
- Common++/header/LRUList.h: Language not supported
- Common++/header/Logger.h: Language not supported
- Common++/header/MacAddress.h: Language not supported
- Common++/header/OUILookup.h: Language not supported
- Common++/header/PointerVector.h: Language not supported
- Common++/header/SystemUtils.h: Language not supported
- Common++/header/TablePrinter.h: Language not supported
- Common++/src/GeneralUtils.cpp: Language not supported
- Common++/src/IpAddress.cpp: Language not supported
- Common++/src/IpUtils.cpp: Language not supported
- Common++/src/Logger.cpp: Language not supported
- Common++/src/MacAddress.cpp: Language not supported
- Common++/src/OUILookup.cpp: Language not supported
- Common++/src/SystemUtils.cpp: Language not supported
- Common++/src/TablePrinter.cpp: Language not supported
Fix various clang-tidy warnings