mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-25 18:15:00 +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
|
||||
AlwaysBreakAfterReturnType: None
|
||||
AlwaysBreakBeforeMultilineStrings: true
|
||||
AlwaysBreakTemplateDeclarations: true
|
||||
AlwaysBreakTemplateDeclarations: Yes
|
||||
BinPackArguments: true
|
||||
BinPackParameters: true
|
||||
BraceWrapping:
|
||||
|
@ -6,5 +6,12 @@ Checks: >
|
||||
-clang-analyzer-optin*,
|
||||
-clang-analyzer-cplusplus.NewDeleteLeaks,
|
||||
-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)'
|
||||
|
Loading…
Reference in New Issue
Block a user