Skip to content

Commit 6068b94

Browse files
panquezgithub-actions[bot]
authored andcommitted
Apply prepare changes
1 parent c4ae496 commit 6068b94

2 files changed

Lines changed: 22 additions & 14 deletions

File tree

.clang-format

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,25 @@ AlwaysBreakTemplateDeclarations: true
2121
BinPackArguments: true
2222
BinPackParameters: false
2323
BraceWrapping:
24-
AfterClass: true
25-
AfterControlStatement: true
26-
AfterEnum: true
27-
AfterFunction: true
28-
AfterNamespace: true
29-
AfterObjCDeclaration: true
30-
AfterStruct: true
31-
AfterUnion: true
32-
BeforeCatch: true
33-
BeforeElse: true
34-
IndentBraces: false
24+
AfterClass: true
25+
AfterControlStatement: true
26+
AfterEnum: true
27+
AfterFunction: true
28+
AfterNamespace: true
29+
AfterObjCDeclaration: true
30+
AfterStruct: true
31+
AfterUnion: true
32+
BeforeCatch: true
33+
BeforeElse: true
34+
IndentBraces: false
3535
BreakBeforeBinaryOperators: NonAssignment
3636
BreakBeforeBraces: Custom
3737
BreakBeforeTernaryOperators: true
3838
BreakConstructorInitializers: BeforeColon
3939
BreakInheritanceList: BeforeColon
4040
#BreakStringLiterals
4141
ColumnLimit: 80
42-
CommentPragmas: ''
42+
CommentPragmas: ""
4343
CompactNamespaces: false
4444
ConstructorInitializerAllOnOneLineOrOnePerLine: true
4545
ConstructorInitializerIndentWidth: 4

.clang-tidy

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,30 @@
55
Checks: >
66
*,
77
-altera*,
8+
-boost*,
89
-fuchsia*,
910
-llvmlibc*,
1011
-llvm-header-guard,
1112
-llvm-prefer-static-over-anonymous-namespace,
13+
-google-readability-todo,
1214
-misc-no-recursion,
1315
-misc-include-cleaner,
1416
-misc-const-correctness,
1517
-modernize-use-trailing-return-type,
1618
-portability-avoid-pragma-once,
19+
-readability-use-anyofallof,
1720
-readability-redundant-access-specifiers,
1821
-readability-convert-member-functions-to-static,
19-
-cppcoreguidelines-avoid-const-or-ref-data-members
22+
-cppcoreguidelines-avoid-const-or-ref-data-members,
23+
-cppcoreguidelines-pro-bounds-constant-array-index
2024
2125
CheckOptions:
2226
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
2327
value: "1"
2428
- key: readability-identifier-length.MinimumLoopCounterNameLength
2529
value: 1
2630
- key: readability-identifier-length.IgnoredVariableNames
27-
value: "^[defijkptuvw]$"
31+
value: "^[_defijkptuvwxyz]$"
2832
# More options here: https://clang.llvm.org/extra/clang-tidy/checks/readability/identifier-naming.html
2933
- key: readability-identifier-naming.NamespaceCase
3034
value: lower_case
@@ -60,5 +64,9 @@ CheckOptions:
6064
value: lower_case
6165
- key: readability-function-cognitive-complexity.Threshold
6266
value: 10
67+
- key: readability-function-cognitive-complexity.IgnoreMacros
68+
value: true
6369
- key: readability-function-size.ParameterThreshold
6470
value: 4
71+
- key: cppcoreguidelines-pro-type-member-init.IgnoreArrays
72+
value: true

0 commit comments

Comments
 (0)