mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-26 21:17:12 +00:00
Fix .clang-format and .clang-tidy
- `AlwaysBreakTemplateDeclarations` is a ternary, no a boolean. - `WarningsAsErrors` is the list of checks that should be treated as errors, not a boolean.
This commit is contained in:
parent
957318d0b9
commit
24eb1165fc
@ -17,7 +17,7 @@ AllowShortLoopsOnASingleLine: false
|
|||||||
AlwaysBreakAfterDefinitionReturnType: None
|
AlwaysBreakAfterDefinitionReturnType: None
|
||||||
AlwaysBreakAfterReturnType: None
|
AlwaysBreakAfterReturnType: None
|
||||||
AlwaysBreakBeforeMultilineStrings: true
|
AlwaysBreakBeforeMultilineStrings: true
|
||||||
AlwaysBreakTemplateDeclarations: true
|
AlwaysBreakTemplateDeclarations: Yes
|
||||||
BinPackArguments: true
|
BinPackArguments: true
|
||||||
BinPackParameters: true
|
BinPackParameters: true
|
||||||
BraceWrapping:
|
BraceWrapping:
|
||||||
|
@ -6,5 +6,12 @@ Checks: >
|
|||||||
-clang-analyzer-optin*,
|
-clang-analyzer-optin*,
|
||||||
-clang-analyzer-cplusplus.NewDeleteLeaks,
|
-clang-analyzer-cplusplus.NewDeleteLeaks,
|
||||||
-clang-analyzer-core.CallAndMessage
|
-clang-analyzer-core.CallAndMessage
|
||||||
WarningsAsErrors: true
|
WarningsAsErrors: >
|
||||||
|
-*,
|
||||||
|
boost-*,
|
||||||
|
portability-*,
|
||||||
|
clang-analyzer-*,
|
||||||
|
-clang-analyzer-optin*,
|
||||||
|
-clang-analyzer-cplusplus.NewDeleteLeaks,
|
||||||
|
-clang-analyzer-core.CallAndMessage
|
||||||
HeaderFilterRegex: '^(apps|components)'
|
HeaderFilterRegex: '^(apps|components)'
|
||||||
|
Loading…
Reference in New Issue
Block a user