forked from lix-project/lix
Jade Lovelace
a5f0954c29
This lets us ensure that nobody is putting in new reinterpret_cast
instances where they could safely use charptr_cast instead.
Change-Id: I6358a3934c8133c7150042635843bdbb6b9218d4
35 lines
1.2 KiB
YAML
35 lines
1.2 KiB
YAML
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
|
|
# 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
|
|
- 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
|
|
|
|
|
|
CheckOptions:
|
|
bugprone-reserved-identifier.AllowedIdentifiers: '__asan_default_options'
|