forked from lix-project/lix
clang-tidy: enforce the new rules
Fixes: lix-project/lix#241
Change-Id: Idd096dc9ca92ffd4be8c22d293ba5bf2ec48a85f
This commit is contained in:
parent
4ed8461cac
commit
c1291fd102
|
@ -16,6 +16,13 @@ Checks:
|
||||||
- -bugprone-unchecked-optional-access
|
- -bugprone-unchecked-optional-access
|
||||||
# many warnings, seems like a questionable lint
|
# many warnings, seems like a questionable lint
|
||||||
- -bugprone-branch-clone
|
- -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
|
||||||
|
|
||||||
|
|
||||||
CheckOptions:
|
CheckOptions:
|
||||||
bugprone-reserved-identifier.AllowedIdentifiers: '__asan_default_options'
|
bugprone-reserved-identifier.AllowedIdentifiers: '__asan_default_options'
|
||||||
|
|
Loading…
Reference in a new issue