mirror of
https://github.com/MorizzG/tool-default-configs.git
synced 2025-12-06 09:32:41 +00:00
updates to .clang-tidy and .clang-format
This commit is contained in:
parent
5bdc28e3f2
commit
f85d8b0bf9
2 changed files with 16 additions and 1 deletions
|
|
@ -6,5 +6,9 @@ ColumnLimit: 100
|
||||||
---
|
---
|
||||||
Language: Cpp
|
Language: Cpp
|
||||||
|
|
||||||
|
AllowShortFunctionsOnASingleLine: Inline
|
||||||
|
|
||||||
|
IndentCaseLabels: false
|
||||||
|
|
||||||
DerivePointerAlignment: false
|
DerivePointerAlignment: false
|
||||||
PointerAlignment: Left
|
PointerAlignment: Left
|
||||||
13
.clang-tidy
13
.clang-tidy
|
|
@ -3,7 +3,7 @@ Checks: '
|
||||||
bugprone-*,
|
bugprone-*,
|
||||||
clang-analyzer-*,
|
clang-analyzer-*,
|
||||||
clang-diagnostic-*,
|
clang-diagnostic-*,
|
||||||
cppcoreguidelines-*,
|
# cppcoreguidelines-*,
|
||||||
google-*,
|
google-*,
|
||||||
llvm-*,
|
llvm-*,
|
||||||
misc-*,
|
misc-*,
|
||||||
|
|
@ -11,12 +11,23 @@ Checks: '
|
||||||
performance-*,
|
performance-*,
|
||||||
readability-*,
|
readability-*,
|
||||||
|
|
||||||
|
-bugprone-easily-swappable-parameters,
|
||||||
|
|
||||||
|
-cppcoreguidelines-avoid-magic-numbers,
|
||||||
|
-cppcoreguidelines-pro-bounds-constant-array-index,
|
||||||
|
|
||||||
|
-google-objc-function-naming,
|
||||||
|
-google-readability-todo,
|
||||||
|
|
||||||
-misc-no-recursion,
|
-misc-no-recursion,
|
||||||
-modernize-use-nodiscard,
|
-modernize-use-nodiscard,
|
||||||
-modernize-use-trailing-return-type,
|
-modernize-use-trailing-return-type,
|
||||||
|
|
||||||
|
-performance-avoid-endl,
|
||||||
|
|
||||||
-readability-else-after-return,
|
-readability-else-after-return,
|
||||||
-readability-identifier-length,
|
-readability-identifier-length,
|
||||||
|
-readability-magic-numbers,
|
||||||
'
|
'
|
||||||
|
|
||||||
WarningsAsErrors: '*'
|
WarningsAsErrors: '*'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue