clang 19.0.0git
|
Public Member Functions | |
UPCPreIncrementGadget (const MatchFinder::MatchResult &Result) | |
virtual std::optional< FixItList > | getFixits (const FixitStrategy &S) const override |
virtual const Stmt * | getBaseStmt () const override |
virtual DeclUseList | getClaimedVarUseSites () const override |
Static Public Member Functions | |
static bool | classof (const Gadget *G) |
static Matcher | matcher () |
Definition at line 1191 of file UnsafeBufferUsage.cpp.
|
inline |
Definition at line 1198 of file UnsafeBufferUsage.cpp.
References Node.
|
inlinestatic |
Definition at line 1204 of file UnsafeBufferUsage.cpp.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
overridevirtual |
Definition at line 2105 of file UnsafeBufferUsage.cpp.
References clang::FixItHint::CreateReplacement(), clang::Decl::getASTContext(), getBaseStmt(), clang::Stmt::getBeginLoc(), getClaimedVarUseSites(), getEndCharLoc(), clang::ASTContext::getLangOpts(), clang::NamedDecl::getName(), and clang::ASTContext::getSourceManager().
|
inlinestatic |
Definition at line 1208 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.