[PATCH] D117306: [clang-tidy] Add new check 'shared-ptr-array-mismatch'.
Richard via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 2 20:15:01 PST 2022
LegalizeAdulthood added inline comments.
================
Comment at: clang-tools-extra/clang-tidy/bugprone/SmartPtrArrayMismatchCheck.h:40
+ /// in this class.
+ virtual SmartPtrClassMatcher getSmartPointerClassMatcher() const = 0;
+
----------------
There's only one implementation of this abstract method declared here.
Why the extra level in the class hierarchy if there's only one implementation?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117306/new/
https://reviews.llvm.org/D117306
More information about the cfe-commits
mailing list