mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-02-03 12:49:16 +00:00
Improve readability
This commit is contained in:
parent
1ad1366938
commit
78afe4834d
48
.clang-tidy
48
.clang-tidy
@ -1,7 +1,45 @@
|
|||||||
---
|
---
|
||||||
Checks: '-*,boost-use-to-string,cert-dcl21-cpp,cert-dcl58-cpp,cert-env33-c,cert-err52-cpp,cert-err60-cpp,cert-flp30-c,clang-analyzer-cplusplus*,cppcoreguidelines-pro-type-static-cast-downcast,cppcoreguidelines-slicing,google-build-namespaces,google-runtime-int,misc-misplaced-const,misc-new-delete-overloads,misc-non-copyable-objects,misc-static-assert,misc-throw-by-value-catch-by-reference,misc-uniqueptr-reset-release,modernize-loop-convert,modernize-pass-by-value,modernize-raw-string-literal,modernize-use-auto,modernize-use-bool-literals,modernize-use-equals-default,modernize-use-equals-delete,modernize-use-noexcept,modernize-use-nullptr,performance-faster-string-find,performance-inefficient-algorithm,performance-move-const-arg,performance-type-promotion-in-math-fn,performance-unnecessary-copy-initialization,performance-unnecessary-value-param,readability-container-size-empty,readability-inconsistent-declaration-parameter-name,readability-named-parameter,readability-non-const-parameter,readability-string-compare'
|
Checks: '-*,
|
||||||
|
boost-use-to-string,
|
||||||
|
cert-dcl21-cpp,
|
||||||
|
cert-dcl58-cpp,
|
||||||
|
cert-env33-c,
|
||||||
|
cert-err52-cpp,
|
||||||
|
cert-err60-cpp,
|
||||||
|
cert-flp30-c,
|
||||||
|
clang-analyzer-cplusplus*,
|
||||||
|
cppcoreguidelines-pro-type-static-cast-downcast,
|
||||||
|
cppcoreguidelines-slicing,
|
||||||
|
google-build-namespaces,
|
||||||
|
google-runtime-int,
|
||||||
|
misc-misplaced-const,
|
||||||
|
misc-new-delete-overloads,
|
||||||
|
misc-non-copyable-objects,
|
||||||
|
misc-static-assert,
|
||||||
|
misc-throw-by-value-catch-by-reference,
|
||||||
|
misc-uniqueptr-reset-release,
|
||||||
|
modernize-loop-convert,
|
||||||
|
modernize-pass-by-value,
|
||||||
|
modernize-raw-string-literal,
|
||||||
|
modernize-use-auto,
|
||||||
|
modernize-use-bool-literals,
|
||||||
|
modernize-use-equals-default,
|
||||||
|
modernize-use-equals-delete,
|
||||||
|
modernize-use-noexcept,
|
||||||
|
modernize-use-nullptr,
|
||||||
|
performance-faster-string-find,
|
||||||
|
performance-inefficient-algorithm,
|
||||||
|
performance-move-const-arg,
|
||||||
|
performance-type-promotion-in-math-fn,
|
||||||
|
performance-unnecessary-copy-initialization,
|
||||||
|
performance-unnecessary-value-param,
|
||||||
|
readability-container-size-empty,
|
||||||
|
readability-inconsistent-declaration-parameter-name,
|
||||||
|
readability-named-parameter,
|
||||||
|
readability-non-const-parameter,
|
||||||
|
readability-string-compare'
|
||||||
WarningsAsErrors: ''
|
WarningsAsErrors: ''
|
||||||
HeaderFilterRegex: ''
|
HeaderFilterRegex: '*.h'
|
||||||
AnalyzeTemporaryDtors: false
|
AnalyzeTemporaryDtors: false
|
||||||
FormatStyle: 'file'
|
FormatStyle: 'file'
|
||||||
CheckOptions:
|
CheckOptions:
|
||||||
@ -18,7 +56,7 @@ CheckOptions:
|
|||||||
- key: google-runtime-int.SignedTypePrefix
|
- key: google-runtime-int.SignedTypePrefix
|
||||||
value: int
|
value: int
|
||||||
- key: google-runtime-int.TypeSuffix
|
- key: google-runtime-int.TypeSuffix
|
||||||
value: '_t'
|
value: _t
|
||||||
- key: google-runtime-int.UnsignedTypePrefix
|
- key: google-runtime-int.UnsignedTypePrefix
|
||||||
value: uint
|
value: uint
|
||||||
- key: misc-throw-by-value-catch-by-reference.CheckThrowTemporaries
|
- key: misc-throw-by-value-catch-by-reference.CheckThrowTemporaries
|
||||||
@ -57,4 +95,8 @@ CheckOptions:
|
|||||||
value: llvm
|
value: llvm
|
||||||
- key: performance-unnecessary-value-param.IncludeStyle
|
- key: performance-unnecessary-value-param.IncludeStyle
|
||||||
value: llvm
|
value: llvm
|
||||||
|
- key: readability-inconsistent-declaration-parameter-name.IgnoreMacros
|
||||||
|
value: '1'
|
||||||
|
- key: readability-inconsistent-declaration-parameter-name.Strict
|
||||||
|
value: '0'
|
||||||
...
|
...
|
||||||
|
Loading…
Reference in New Issue
Block a user