clang-tools 22.0.0git
|
Finds calls to NSInvocation methods under ARC that don't have proper argument object lifetimes. More...
#include <NSInvocationArgumentLifetimeCheck.h>
Public Member Functions | |
NSInvocationArgumentLifetimeCheck (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 calls to NSInvocation methods under ARC that don't have proper argument object lifetimes.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/objc/nsinvocation-argument-lifetime.html
Definition at line 22 of file NSInvocationArgumentLifetimeCheck.h.
|
inline |
Definition at line 24 of file NSInvocationArgumentLifetimeCheck.h.
|
override |
Definition at line 124 of file NSInvocationArgumentLifetimeCheck.cpp.
References clang::tidy::objc::fixItHintForVarDecl().
|
inlineoverride |
Definition at line 26 of file NSInvocationArgumentLifetimeCheck.h.
|
override |
Definition at line 99 of file NSInvocationArgumentLifetimeCheck.cpp.