Skip to content

Commit ee07e54

Browse files
committed
Fix .clang-format and .clang-tidy
1 parent 72c4966 commit ee07e54

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.clang-format

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
Language: Cpp
3-
BasedOnStyle: Microsoft
3+
BasedOnStyle: GNU
44

55
AlwaysBreakTemplateDeclarations: Yes
66

@@ -18,7 +18,7 @@ FixNamespaceComments: true
1818
# InsertBraces: true # only for clang-format version15.0.0 or later
1919

2020
# About include
21-
IncludeBlocks: Regroup
21+
IncludeBlocks: Preserve
2222
IncludeIsMainRegex: '([-_](test|unittest))?$'
2323
IncludeIsMainSourceRegex: ''
2424

@@ -30,7 +30,7 @@ DerivePointerAlignment: false
3030
PointerAlignment: Left
3131

3232
ReflowComments: true
33-
SortIncludes: true
33+
SortIncludes: false
3434
SortUsingDeclarations: true
3535

3636
# About space

.clang-tidy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
Checks: '
3+
-*,
34
modernize-deprecated-headers,
45
modernize-redundant-void-arg,
56
modernize-use-bool-literals,

0 commit comments

Comments
 (0)