mirror of https://github.com/aseprite/aseprite.git
[clang-tidy] Avoid showing comments about boolean simplifications by DeMorgan's theorem
This is quite common for ASSERT(condition), which is a macro with !(condition)
This commit is contained in:
parent
d3ef5c61da
commit
7ee486ebde
|
@ -31,6 +31,9 @@
|
|||
# readability-named-parameter: We prefer misc-unused-parameters to
|
||||
# remove a parameter name that is not used.
|
||||
#
|
||||
# readability-simplify-boolean-expr: Avoid showing comments about
|
||||
# boolean expressions inside ASSERTs().
|
||||
#
|
||||
# misc-use-anonymous-namespace: We use anonymous namespaces or static
|
||||
# functions indifferently.
|
||||
#
|
||||
|
@ -64,6 +67,8 @@ CheckOptions:
|
|||
value: true
|
||||
- key: readability-implicit-bool-conversion.AllowPointerConditions
|
||||
value: true
|
||||
- key: readability-simplify-boolean-expr.IgnoreMacros
|
||||
value: true
|
||||
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
|
||||
value: true
|
||||
...
|
||||
|
|
2
laf
2
laf
|
@ -1 +1 @@
|
|||
Subproject commit 29aa044517059df87158c9e5f26c92572effb103
|
||||
Subproject commit 12ea4f7aa466c5a7a570c2e8d61fe2d10b57b9fb
|
Loading…
Reference in New Issue