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.
simplify_debugging
jvoisin 2 years ago
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…
Cancel
Save