clang 20.0.0git
|
Public Member Functions | |
UPCPreIncrementGadget (const MatchFinder::MatchResult &Result) | |
virtual std::optional< FixItList > | getFixits (const FixitStrategy &S) const override |
SourceLocation | getSourceLoc () const override |
virtual DeclUseList | getClaimedVarUseSites () const override |
Static Public Member Functions | |
static bool | classof (const Gadget *G) |
static Matcher | matcher () |
Definition at line 1259 of file UnsafeBufferUsage.cpp.
|
inline |
Definition at line 1266 of file UnsafeBufferUsage.cpp.
References Node.
|
inlinestatic |
Definition at line 1272 of file UnsafeBufferUsage.cpp.
|
inlineoverridevirtual |
|
overridevirtual |
Definition at line 2171 of file UnsafeBufferUsage.cpp.
References clang::FixItHint::CreateReplacement(), clang::Decl::getASTContext(), getClaimedVarUseSites(), getEndCharLoc(), clang::ASTContext::getLangOpts(), clang::NamedDecl::getName(), clang::ASTContext::getSourceManager(), and Node.
|
inlineoverride |
Definition at line 1289 of file UnsafeBufferUsage.cpp.
References Node.
|
inlinestatic |
Definition at line 1276 of file UnsafeBufferUsage.cpp.
References clang::ast_matchers::declRefExpr, clang::ast_matchers::expr, clang::ast_matchers::isInUnspecifiedPointerContext(), clang::ast_matchers::stmt, and clang::ast_matchers::unaryOperator.