llvm-project/clang-tools-extra/clang-tidy/objc
Michael Wyman 0151ddc2e8 Create a clang-tidy check to warn when -dealloc is implemented inside an ObjC class category.
Summary: Such implementations may override the class's own implementation, and even be a danger in case someone later comes and adds one to the class itself. Most times this has been encountered have been a mistake.

Reviewers: stephanemoore, benhamilton, dmaclach

Reviewed By: stephanemoore, benhamilton, dmaclach

Subscribers: dmaclach, mgorny, cfe-commits

Tags: #clang-tools-extra, #clang

Differential Revision: https://reviews.llvm.org/D72876
2020-02-10 08:56:28 -07:00
..
AvoidNSErrorInitCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AvoidNSErrorInitCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
CMakeLists.txt Create a clang-tidy check to warn when -dealloc is implemented inside an ObjC class category. 2020-02-10 08:56:28 -07:00
DeallocInCategoryCheck.cpp Create a clang-tidy check to warn when -dealloc is implemented inside an ObjC class category. 2020-02-10 08:56:28 -07:00
DeallocInCategoryCheck.h Create a clang-tidy check to warn when -dealloc is implemented inside an ObjC class category. 2020-02-10 08:56:28 -07:00
ForbiddenSubclassingCheck.cpp [clang-tidy] Migrate objc-forbidden-subclassing to use isDerivedFrom 🚛 2019-08-16 01:52:17 +00:00
ForbiddenSubclassingCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
MissingHashCheck.cpp [clang-tidy] Add check for classes missing -hash ⚠️ 2019-09-21 01:22:22 +00:00
MissingHashCheck.h [clang-tidy] Add check for classes missing -hash ⚠️ 2019-09-21 01:22:22 +00:00
ObjCTidyModule.cpp Create a clang-tidy check to warn when -dealloc is implemented inside an ObjC class category. 2020-02-10 08:56:28 -07:00
PropertyDeclarationCheck.cpp Update property prefix regex to allow numbers. 2019-02-20 17:32:41 +00:00
PropertyDeclarationCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
SuperSelfCheck.cpp Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
SuperSelfCheck.h [clang-tidy] Add a check for [super self] in initializers 🔍 2019-04-17 22:29:06 +00:00