Format .clang-tidy and .clang-format
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
---
|
AccessModifierOffset: '-4'
|
||||||
AccessModifierOffset: '-4'
|
|
||||||
AllowShortFunctionsOnASingleLine: InlineOnly
|
AllowShortFunctionsOnASingleLine: InlineOnly
|
||||||
AllowShortIfStatementsOnASingleLine: Never
|
AllowShortIfStatementsOnASingleLine: Never
|
||||||
BinPackArguments: 'false'
|
BinPackArguments: 'false'
|
||||||
@@ -9,5 +8,3 @@ ColumnLimit: '100'
|
|||||||
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
|
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
|
||||||
IndentWidth: '4'
|
IndentWidth: '4'
|
||||||
PointerAlignment: Left
|
PointerAlignment: Left
|
||||||
|
|
||||||
...
|
|
||||||
|
|||||||
17
.clang-tidy
17
.clang-tidy
@@ -1,7 +1,18 @@
|
|||||||
---
|
Checks: >
|
||||||
Checks: 'clang-diagnostic-*,clang-analyzer-*,modernize-*,bugprone-*,concurrency-*,cppcoreguidelines-*,performance-*,portability-*,readability-*,-modernize-use-trailing-return-type,-readability-braces-around-statements,-readability-identifier-length,-readability-function-cognitive-complexity'
|
clang-diagnostic-*,
|
||||||
|
clang-analyzer-*,
|
||||||
|
modernize-*,
|
||||||
|
bugprone-*,
|
||||||
|
concurrency-*,
|
||||||
|
cppcoreguidelines-*,
|
||||||
|
performance-*,
|
||||||
|
portability-*,
|
||||||
|
readability-*,
|
||||||
|
-modernize-use-trailing-return-type,
|
||||||
|
-readability-braces-around-statements,
|
||||||
|
-readability-identifier-length,
|
||||||
|
-readability-function-cognitive-complexity
|
||||||
WarningsAsErrors: ''
|
WarningsAsErrors: ''
|
||||||
HeaderFilterRegex: ''
|
HeaderFilterRegex: ''
|
||||||
AnalyzeTemporaryDtors: false
|
AnalyzeTemporaryDtors: false
|
||||||
FormatStyle: file
|
FormatStyle: file
|
||||||
...
|
|
||||||
|
|||||||
Reference in New Issue
Block a user