https://codeberg.org/interpeer/liberate.git
Revision 67b76dc5a90ed8be943e6df3d40f6598c7af5814 authored by Jens Finkhaeuser on 03 January 2022, 10:57:01 UTC, committed by Jens Finkhaeuser on 03 January 2022, 10:57:01 UTC
1 parent 77f3407
Raw File
Tip revision: 67b76dc5a90ed8be943e6df3d40f6598c7af5814 authored by Jens Finkhaeuser on 03 January 2022, 10:57:01 UTC
bufsize_available() should be a static constexpr function, to permit usages that relied on the sizeof the now hidden data structure
Tip revision: 67b76dc
.oclint
disable-rules:
- BitwiseOperatorInConditional    # Used a fair bit, and for good reason.
- InvertedLogic                   # Complains about "if (!foo) shortpath;"
- ParameterReassignment           # Complains about out parameters
- UnnecessaryDefaultStatement     # Good to have if enum changes
- TooFewBranchesInSwitchStatement # Prefer switches for enums
rule-configurations:
- key: LONG_LINE                  # Shorten the default
  value: 80
- key: LONG_METHOD                # Lengthen the default
  value: 75
- key: SHORT_VARIABLE_NAME        # Shorten default by one - two is often ok
  value: 2
- key: NCSS_METHOD                # Lengthen the default
  value: 50
back to top