[clang-tools-extra] 29fc5e0 - [clang-tidy] Fixed a compile warning (NFC).
Balázs Kéri via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 7 05:57:06 PST 2022
Author: Balázs Kéri
Date: 2022-02-07T14:56:27+01:00
New Revision: 29fc5e0245cb360387cb8daac52c13dbc390fafd
URL: https://github.com/llvm/llvm-project/commit/29fc5e0245cb360387cb8daac52c13dbc390fafd
DIFF: https://github.com/llvm/llvm-project/commit/29fc5e0245cb360387cb8daac52c13dbc390fafd.diff
LOG: [clang-tidy] Fixed a compile warning (NFC).
Fixed a "override" related warning in SharedPtrArrayMismatchCheck.h.
Related to differential revision: https://reviews.llvm.org/D117306
Added:
Modified:
clang-tools-extra/clang-tidy/bugprone/SharedPtrArrayMismatchCheck.h
Removed:
################################################################################
diff --git a/clang-tools-extra/clang-tidy/bugprone/SharedPtrArrayMismatchCheck.h b/clang-tools-extra/clang-tidy/bugprone/SharedPtrArrayMismatchCheck.h
index f628e02962d2..bb549c5a2c69 100644
--- a/clang-tools-extra/clang-tidy/bugprone/SharedPtrArrayMismatchCheck.h
+++ b/clang-tools-extra/clang-tidy/bugprone/SharedPtrArrayMismatchCheck.h
@@ -28,7 +28,7 @@ class SharedPtrArrayMismatchCheck : public SmartPtrArrayMismatchCheck {
SharedPtrArrayMismatchCheck(StringRef Name, ClangTidyContext *Context);
protected:
- virtual SmartPtrClassMatcher getSmartPointerClassMatcher() const;
+ virtual SmartPtrClassMatcher getSmartPointerClassMatcher() const override;
};
} // namespace bugprone
More information about the cfe-commits
mailing list