clang-tools 22.0.0git
|
Finds implementations of -dealloc in Objective-C categories. More...
#include <DeallocInCategoryCheck.h>
Public Member Functions | |
DeallocInCategoryCheck (StringRef Name, ClangTidyContext *Context) | |
bool | isLanguageVersionSupported (const LangOptions &LangOpts) const override |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Finds implementations of -dealloc in Objective-C categories.
The category implementation will override any dealloc in the class implementation, potentially causing issues.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/objc/dealloc-in-category.html
Definition at line 22 of file DeallocInCategoryCheck.h.
|
inline |
Definition at line 24 of file DeallocInCategoryCheck.h.
|
override |
Definition at line 30 of file DeallocInCategoryCheck.cpp.
|
inlineoverride |
Definition at line 26 of file DeallocInCategoryCheck.h.
|
override |
Definition at line 18 of file DeallocInCategoryCheck.cpp.