2024-03-30 04:26:38 +01: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-08-05 05:22:04 +02: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 07:02:53 +02: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 05:22:04 +02:00
|
|
|
|
2024-06-18 08:47:51 +02:00
|
|
|
|
|
|
|
CheckOptions:
|
|
|
|
bugprone-reserved-identifier.AllowedIdentifiers: '__asan_default_options'
|