2024-03-30 03:26:38 +00:00
|
|
|
UseColor: true
|
|
|
|
Checks:
|
|
|
|
- -*
|
|
|
|
- bugprone-*
|
|
|
|
# too many warnings
|
|
|
|
- -bugprone-assignment-in-if-condition
|
|
|
|
# too many warnings
|
|
|
|
- -bugprone-narrowing-conversions
|
|
|
|
# kind of nonsense
|
|
|
|
- -bugprone-easily-swappable-parameters
|
|
|
|
# too many warnings for now
|
|
|
|
- -bugprone-implicit-widening-of-multiplication-result
|
|
|
|
# Lix's exception handling is Questionable
|
|
|
|
- -bugprone-empty-catch
|
|
|
|
# many warnings
|
|
|
|
- -bugprone-unchecked-optional-access
|
|
|
|
# many warnings, seems like a questionable lint
|
|
|
|
- -bugprone-branch-clone
|
2024-12-06 01:03:31 +00:00
|
|
|
# extremely noisy before clang 19: https://github.com/llvm/llvm-project/issues/93959
|
|
|
|
- -bugprone-multi-level-implicit-pointer-conversion
|
2024-08-05 03:22:04 +00:00
|
|
|
# all thrown exceptions must derive from std::exception
|
|
|
|
- hicpp-exception-baseclass
|
|
|
|
# capturing async lambdas are dangerous
|
|
|
|
- cppcoreguidelines-avoid-capturing-lambda-coroutines
|
|
|
|
# crimes must be appropriately declared as crimes
|
|
|
|
- cppcoreguidelines-pro-type-cstyle-cast
|
2024-08-05 05:02:53 +00:00
|
|
|
- lix-*
|
|
|
|
# This can not yet be applied to Lix itself since we need to do source
|
|
|
|
# reorganization so that lix/ include paths work.
|
|
|
|
- -lix-fixincludes
|
|
|
|
# This lint is included as an example, but the lib function it replaces is
|
|
|
|
# already gone.
|
|
|
|
- -lix-hasprefixsuffix
|
2024-08-05 03:22:04 +00:00
|
|
|
|
2024-06-18 06:47:51 +00:00
|
|
|
|
|
|
|
CheckOptions:
|
|
|
|
bugprone-reserved-identifier.AllowedIdentifiers: '__asan_default_options'
|
2024-12-06 01:03:31 +00:00
|
|
|
bugprone-unused-return-value.AllowCastToVoid: true
|