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. |
iphydf
left a comment
There was a problem hiding this comment.
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