Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(.clang-tidy): apply yamllint #2827

Merged
merged 1 commit into from
Aug 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 21 additions & 22 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
Checks: "
-*,
boost-use-to-string,
Expand Down Expand Up @@ -200,7 +199,7 @@ WarningsAsErrors: "
readability-misplaced-array-index,
readability-string-compare"

HeaderFilterRegex: "^(?!\/usr)(?!\/opt)"
HeaderFilterRegex: ^(?!\/usr)(?!\/opt)

AnalyzeTemporaryDtors: false

Expand Down Expand Up @@ -230,7 +229,7 @@ CheckOptions:
- key: bugprone-assert-side-effect.CheckFunctionCalls
value: "0"
- key: bugprone-dangling-handle.HandleClasses
value: "std::basic_string_view;std::experimental::basic_string_view"
value: std::basic_string_view;std::experimental::basic_string_view
- key: bugprone-dynamic-static-initializers.HeaderFileExtensions
value: ",h,hh,hpp,hxx"
- key: bugprone-exception-escape.FunctionsThatShouldNotThrow
Expand Down Expand Up @@ -274,25 +273,25 @@ CheckOptions:
- key: bugprone-unhandled-self-assignment.WarnOnlyIfThisHasSuspiciousField
value: "1"
- key: bugprone-unused-return-value.CheckedFunctions
value: "::std::async;::std::launder;::std::remove;::std::remove_if;::std::unique;::std::unique_ptr::release;::std::basic_string::empty;::std::vector::empty"
value: ::std::async;::std::launder;::std::remove;::std::remove_if;::std::unique;::std::unique_ptr::release;::std::basic_string::empty;::std::vector::empty
- key: cert-dcl16-c.NewSuffixes
value: "L;LL;LU;LLU"
value: L;LL;LU;LLU
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
value: "0"
- key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors
value: "1"
- key: cppcoreguidelines-macro-usage.AllowedRegexp
value: "^DEBUG_*"
value: ^DEBUG_*
- key: cppcoreguidelines-macro-usage.CheckCapsOnly
value: "0"
- key: cppcoreguidelines-macro-usage.IgnoreCommandLineMacros
value: "1"
- key: cppcoreguidelines-no-malloc.Allocations
value: "::malloc;::calloc"
value: ::malloc;::calloc
- key: cppcoreguidelines-no-malloc.Deallocations
value: "::free"
value: ::free
- key: cppcoreguidelines-no-malloc.Reallocations
value: "::realloc"
value: ::realloc
- key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: "1"
- key: cppcoreguidelines-pro-type-member-init.IgnoreArrays
Expand Down Expand Up @@ -332,17 +331,17 @@ CheckOptions:
- key: modernize-make-shared.IgnoreMacros
value: "1"
- key: modernize-make-shared.IncludeStyle
value: "google"
value: google
- key: modernize-make-shared.MakeSmartPtrFunction
value: "std::make_shared"
value: std::make_shared
- key: modernize-make-shared.MakeSmartPtrFunctionHeader
value: memory
- key: modernize-make-unique.IgnoreMacros
value: "1"
- key: modernize-make-unique.IncludeStyle
value: "google"
value: google
- key: modernize-make-unique.MakeSmartPtrFunction
value: "std::make_unique"
value: std::make_unique
- key: modernize-make-unique.MakeSmartPtrFunctionHeader
value: memory
- key: modernize-pass-by-value.IncludeStyle
Expand All @@ -364,13 +363,13 @@ CheckOptions:
- key: modernize-use-default-member-init.UseAssignment
value: "0"
- key: modernize-use-emplace.ContainersWithPushBack
value: "::std::vector;::std::list;::std::deque"
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"
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"
value: ::std::make_pair;::std::make_tuple
- key: modernize-use-emplace.TupleTypes
value: "::std::pair;::std::tuple"
value: ::std::pair;::std::tuple
- key: modernize-use-equals-default.IgnoreMacros
value: "1"
- key: modernize-use-equals-delete.IgnoreMacros
Expand All @@ -396,7 +395,7 @@ CheckOptions:
- key: modernize-use-using.IgnoreMacros
value: "1"
- key: performance-faster-string-find.StringLikeClasses
value: "std::basic_string"
value: std::basic_string
- key: performance-for-range-copy.AllowedTypes
value: ""
- key: performance-for-range-copy.WarnOnAllAutoCopies
Expand All @@ -406,7 +405,7 @@ CheckOptions:
- key: performance-inefficient-vector-operation.EnableProto
value: "0"
- key: performance-inefficient-vector-operation.VectorLikeClasses
value: "::std::vector"
value: ::std::vector
- key: performance-move-const-arg.CheckTriviallyCopyableMove
value: "1"
- key: performance-move-constructor-init.IncludeStyle
Expand All @@ -418,7 +417,7 @@ CheckOptions:
- key: performance-unnecessary-copy-initialization.AllowedTypes
value: ""
- key: performance-unnecessary-value-param.AllowedTypes
value: ".*Ptr;.*SharedFuture"
value: .*Ptr;.*SharedFuture
- key: performance-unnecessary-value-param.IncludeStyle
value: google
- key: portability-simd-intrinsics.Std
Expand Down Expand Up @@ -450,8 +449,8 @@ CheckOptions:
- key: readability-redundant-smartptr-get.IgnoreMacros
value: "1"
- key: readability-redundant-string-init.StringNames
value: "::std::basic_string"
value: ::std::basic_string
- key: readability-simplify-subscript-expr.Types
value: "::std::basic_string;::std::basic_string_view;::std::vector;::std::array"
value: ::std::basic_string;::std::basic_string_view;::std::vector;::std::array
- key: readability-static-accessed-through-instance.NameSpecifierNestingThreshold
value: "3"
1 change: 0 additions & 1 deletion .yamllint.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
extends: default

ignore: |
.clang-tidy
*.param.yaml
rules:
Expand Down