File tree 2 files changed +6
-2
lines changed 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -66,8 +66,8 @@ void registerMatchersForGetArrowStart(MatchFinder *Finder,
66
66
67
67
// Make sure we are not missing the known standard types.
68
68
const auto SmartptrAny = anyOf (knownSmartptr (), QuacksLikeASmartptr);
69
- const auto SmartptrWithDeref =
70
- anyOf ( cxxRecordDecl (knownSmartptr (), HasRelevantOps), QuacksLikeASmartptr);
69
+ const auto SmartptrWithDeref = anyOf (
70
+ cxxRecordDecl (knownSmartptr (), HasRelevantOps), QuacksLikeASmartptr);
71
71
72
72
// Catch 'ptr.get()->Foo()'
73
73
Finder->addMatcher (
Original file line number Diff line number Diff line change @@ -249,6 +249,10 @@ Changes in existing checks
249
249
<clang-tidy/checks/readability/qualified-auto>` check by adding the option
250
250
`AllowedTypes `, that excludes specified types from adding qualifiers.
251
251
252
+ - Improved :doc: `readability-redundant-smartptr-get
253
+ <clang-tidy/checks/readability/redundant-smartptr-get>` check by fixing
254
+ some false positives involving smart pointers to arrays.
255
+
252
256
Removed checks
253
257
^^^^^^^^^^^^^^
254
258
You can’t perform that action at this time.
0 commit comments