Обновлены правила для clang-tidy
This commit is contained in:
parent
47885c73ab
commit
e27d6c4476
22
.clang-tidy
22
.clang-tidy
@ -1,5 +1,23 @@
|
|||||||
---
|
---
|
||||||
Checks: '-*,bugprone-*,cppcoreguidelines-*,google-*,clang-analyzer-*,misc-*,modernize-*,readability-*,performance-*,portability-*,readability-identifier-naming,-cppcoreguidelines-owning-memory,-modernize-use-trailing-return-type'
|
Checks: '-*,
|
||||||
|
bugprone-*,
|
||||||
|
cppcoreguidelines-*,
|
||||||
|
google-*,
|
||||||
|
clang-analyzer-*,
|
||||||
|
misc-*,
|
||||||
|
modernize-*,
|
||||||
|
readability-*,
|
||||||
|
performance-*,
|
||||||
|
portability-*,
|
||||||
|
readability-identifier-naming,
|
||||||
|
-cppcoreguidelines-owning-memory,
|
||||||
|
-cppcoreguidelines-avoid-magic-numbers,
|
||||||
|
-readability-magic-numbers,
|
||||||
|
-readability-else-after-return,
|
||||||
|
-modernize-use-trailing-return-type,
|
||||||
|
-performance-no-automatic-move,
|
||||||
|
'
|
||||||
|
|
||||||
CheckOptions:
|
CheckOptions:
|
||||||
- key: readability-identifier-naming.AbstractClassCase
|
- key: readability-identifier-naming.AbstractClassCase
|
||||||
value: CamelCase
|
value: CamelCase
|
||||||
@ -104,7 +122,7 @@ CheckOptions:
|
|||||||
- key: readability-identifier-naming.GlobalConstantPointerSuffix
|
- key: readability-identifier-naming.GlobalConstantPointerSuffix
|
||||||
value: ''
|
value: ''
|
||||||
- key: readability-identifier-naming.GlobalFunctionCase
|
- key: readability-identifier-naming.GlobalFunctionCase
|
||||||
value: lower_case
|
value: camelBack
|
||||||
- key: readability-identifier-naming.GlobalFunctionPrefix
|
- key: readability-identifier-naming.GlobalFunctionPrefix
|
||||||
value: ''
|
value: ''
|
||||||
- key: readability-identifier-naming.GlobalFunctionSuffix
|
- key: readability-identifier-naming.GlobalFunctionSuffix
|
||||||
|
Loading…
x
Reference in New Issue
Block a user