gnss-sdr/.clang-tidy

203 lines
8.6 KiB
Plaintext
Raw Normal View History

---
2019-02-21 10:23:25 +00:00
Checks: '-*,
boost-use-to-string,
cert-dcl21-cpp,
cert-dcl58-cpp,
cert-env33-c,
cert-err52-cpp,
cert-err60-cpp,
cert-flp30-c,
2019-08-12 23:11:41 +00:00
cert-msc50-cpp,
cert-msc51-cpp,
clang-analyzer-cplusplus.*,
2019-08-13 12:43:20 +00:00
clang-analyzer-security.*,
cppcoreguidelines-pro-type-cstyle-cast,
2019-02-21 10:23:25 +00:00
cppcoreguidelines-pro-type-static-cast-downcast,
cppcoreguidelines-slicing,
cppcoreguidelines-special-member-functions,
2019-02-21 10:23:25 +00:00
google-build-namespaces,
2019-08-12 23:11:41 +00:00
google-global-names-in-headers,
2019-02-21 10:23:25 +00:00
google-runtime-int,
hicpp-exception-baseclass,
hicpp-explicit-conversions,
2019-08-12 23:11:41 +00:00
hicpp-noexcept-move,
2019-02-21 10:23:25 +00:00
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,
misc-unused-using-decls,
2019-08-12 23:11:41 +00:00
modernize-avoid-bind,
modernize-use-default-member-init,
2019-08-12 23:11:41 +00:00
modernize-deprecated-headers,
2019-02-21 10:23:25 +00:00
modernize-loop-convert,
modernize-pass-by-value,
modernize-raw-string-literal,
modernize-redundant-void-arg,
modernize-return-braced-init-list,
modernize-shrink-to-fit,
2019-02-21 10:23:25 +00:00
modernize-use-auto,
modernize-use-bool-literals,
modernize-use-emplace,
2019-02-21 10:23:25 +00:00
modernize-use-equals-default,
modernize-use-equals-delete,
modernize-use-noexcept,
modernize-use-nullptr,
2019-08-12 23:11:41 +00:00
modernize-use-override,
2019-02-21 10:23:25 +00:00
performance-faster-string-find,
performance-for-range-copy,
performance-implicit-conversion-in-loop,
2019-02-21 10:23:25 +00:00
performance-inefficient-algorithm,
performance-inefficient-string-concatenation,
performance-inefficient-vector-operation,
2019-02-21 10:23:25 +00:00
performance-move-const-arg,
performance-move-constructor-init,
performance-noexcept-move-constructor,
2019-02-21 10:23:25 +00:00
performance-type-promotion-in-math-fn,
performance-unnecessary-copy-initialization,
2019-02-21 10:23:25 +00:00
performance-unnecessary-value-param,
2019-08-12 23:11:41 +00:00
readability-avoid-const-params-in-decls,
2019-02-21 10:23:25 +00:00
readability-container-size-empty,
readability-identifier-naming,
2019-02-21 10:23:25 +00:00
readability-inconsistent-declaration-parameter-name,
2019-08-12 23:11:41 +00:00
readability-isolate-declaration,
2019-02-21 10:23:25 +00:00
readability-named-parameter,
readability-non-const-parameter,
2019-08-12 23:11:41 +00:00
readability-redundant-control-flow,
readability-redundant-member-init,
2019-08-12 23:11:41 +00:00
readability-string-compare,
readability-uppercase-literal-suffix'
2019-02-11 20:29:37 +00:00
WarningsAsErrors: ''
HeaderFilterRegex: ''
2019-02-11 20:29:37 +00:00
AnalyzeTemporaryDtors: false
FormatStyle: 'file'
2019-02-11 20:29:37 +00:00
CheckOptions:
- key: cert-dcl16-c.NewSuffixes
value: 'L;LL;LU;LLU'
2019-08-12 23:11:41 +00:00
- key: cert-msc51-cpp.DisallowedSeedTypes
value: 'time_t,std::time_t'
- key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: '1'
- key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions
value: '0'
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
value: '0'
2019-02-11 20:29:37 +00:00
- key: google-build-namespaces.HeaderFileExtensions
value: ',h'
2019-08-12 23:11:41 +00:00
- key: google-global-names-in-headers.HeaderFileExtensions
value: ',h,hh,hpp,hxx'
2019-02-11 20:29:37 +00:00
- key: google-readability-braces-around-statements.ShortStatementLines
value: '1'
- key: google-readability-function-size.StatementThreshold
value: '800'
- key: google-readability-namespace-comments.ShortNamespaceLines
value: '10'
- key: google-readability-namespace-comments.SpacesBeforeComments
value: '2'
- key: google-runtime-int.SignedTypePrefix
value: int
- key: google-runtime-int.TypeSuffix
2019-02-21 10:23:25 +00:00
value: _t
2019-02-11 20:29:37 +00:00
- key: google-runtime-int.UnsignedTypePrefix
value: uint
- key: misc-throw-by-value-catch-by-reference.CheckThrowTemporaries
value: '1'
- key: modernize-loop-convert.MaxCopySize
value: '16'
- key: modernize-loop-convert.MinConfidence
value: reasonable
- key: modernize-loop-convert.NamingStyle
value: CamelCase
- key: modernize-pass-by-value.IncludeStyle
value: llvm
- key: modernize-pass-by-value.ValuesOnly
value: '0'
- key: modernize-raw-string-literal.ReplaceShorterLiterals
value: '0'
- key: modernize-replace-auto-ptr.IncludeStyle
value: llvm
- key: modernize-use-auto.MinTypeNameLength
value: '5'
- key: modernize-use-auto.RemoveStars
value: '0'
- key: modernize-use-default-member-init.IgnoreMacros
value: '1'
- key: modernize-use-default-member-init.UseAssignment
value: '0'
- key: modernize-use-emplace.ContainersWithPushBack
value: '::std::vector;::std::list;::std::deque'
- key: modernize-use-emplace.SmartPointers
value: '::std::shared_ptr;::std::unique_ptr;::std::auto_ptr;::std::weak_ptr'
- key: modernize-use-emplace.TupleMakeFunctions
value: '::std::make_pair;::std::make_tuple'
- key: modernize-use-emplace.TupleTypes
value: '::std::pair;::std::tuple'
2019-02-11 20:29:37 +00:00
- key: modernize-use-equals-default.IgnoreMacros
value: '1'
- key: modernize-use-equals-delete.IgnoreMacros
value: '1'
2019-02-11 20:29:37 +00:00
- key: modernize-use-noexcept.ReplacementString
value: ''
- key: modernize-use-noexcept.UseNoexceptFalse
value: '1'
- key: modernize-use-nullptr.NullMacros
value: 'NULL'
- key: performance-faster-string-find.StringLikeClasses
value: 'std::basic_string'
- key: performance-for-range-copy.AllowedTypes
value: ''
- key: performance-for-range-copy.WarnOnAllAutoCopies
value: '0'
- key: performance-inefficient-string-concatenation.StrictMode
value: '0'
- key: performance-inefficient-vector-operation.VectorLikeClasses
value: '::std::vector'
2019-02-11 20:29:37 +00:00
- key: performance-move-const-arg.CheckTriviallyCopyableMove
value: '1'
- key: performance-move-constructor-init.IncludeStyle
value: llvm
2019-02-11 20:29:37 +00:00
- key: performance-type-promotion-in-math-fn.IncludeStyle
value: llvm
- key: performance-unnecessary-copy-initialization.AllowedTypes
value: ''
- key: performance-unnecessary-value-param.AllowedTypes
value: ''
2019-02-11 20:29:37 +00:00
- key: performance-unnecessary-value-param.IncludeStyle
value: llvm
2019-02-22 11:47:21 +00:00
- key: readability-identifier-naming.AbstractClassCase
value: CamelCase
- key: readability-identifier-naming.AbstractClassPrefix
value: ''
- key: readability-identifier-naming.AbstractClassSuffix
value: ''
- key: readability-identifier-naming.ClassCase
value: Camel_Snake_Case
2019-02-22 11:47:21 +00:00
- key: readability-identifier-naming.ClassPrefix
value: ''
- key: readability-identifier-naming.ClassSuffix
value: ''
- key: readability-identifier-naming.GlobalConstantCase
value: UPPER_CASE
2019-02-22 11:47:21 +00:00
- key: readability-identifier-naming.GlobalConstantPrefix
value: ''
- key: readability-identifier-naming.GlobalConstantSuffix
value: ''
- key: readability-identifier-naming.IgnoreFailedSplit
value: '0'
- key: readability-identifier-naming.StructCase
value: aNy_CasE
- key: readability-identifier-naming.StructPrefix
value: ''
- key: readability-identifier-naming.StructSuffix
value: ''
- key: readability-inconsistent-declaration-parameter-name.IgnoreMacros
value: '1'
- key: readability-inconsistent-declaration-parameter-name.Strict
value: '0'
2019-08-12 23:11:41 +00:00
- key: readability-uppercase-literal-suffix.IgnoreMacros
value: '1'
- key: readability-uppercase-literal-suffix.NewSuffixes
value: ''
2019-02-11 20:29:37 +00:00
...