clang-tools 22.0.0git
|
Finds Objective-C implementations that implement -isEqual: without also appropriately implementing -hash. More...
#include <MissingHashCheck.h>
Public Member Functions | |
MissingHashCheck (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 Objective-C implementations that implement -isEqual: without also appropriately implementing -hash.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/objc/missing-hash.html
Definition at line 21 of file MissingHashCheck.h.
|
inline |
Definition at line 23 of file MissingHashCheck.h.
|
override |
Definition at line 48 of file MissingHashCheck.cpp.
|
inlineoverride |
Definition at line 25 of file MissingHashCheck.h.
|
override |
Definition at line 37 of file MissingHashCheck.cpp.