-
Notifications
You must be signed in to change notification settings - Fork 291
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
cleanup: clarify disabling of static assert checks #2451
Conversation
dcd1da5
to
26e1bea
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2451 +/- ##
==========================================
+ Coverage 74.39% 74.41% +0.02%
==========================================
Files 87 87
Lines 26264 26264
==========================================
+ Hits 19539 19545 +6
+ Misses 6725 6719 -6 ☔ View full report in Codecov by Sentry. |
26e1bea
to
6ed61e6
Compare
Those clang-tidy checks failing seem like false positives, because Anyway, changing this turned out to be rather annoying:
The whole point of the assert is to hint to the reader that the rest of the code was written under the assumption that |
Or should we just keep the code as it is with the clang-tidy checks disabled? |
Yes, disable the useless check. |
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.
Looks good. Disable the checks with a brief explanation in the script.
6ed61e6
to
43673d1
Compare
43673d1
to
63fb294
Compare
Since we have now switched to C11 for all compilers but MSVC.
(tox-bootstrapd is Unix-only while MSVC is Windows-only, so MSVC using C99 is not an issue as it never builds tox-bootstrapd).
This change is