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 1850 of file UnsafeBufferUsage.cpp.
|
inline |
Definition at line 1857 of file UnsafeBufferUsage.cpp.
References Node.
|
inlinestatic |
Definition at line 1863 of file UnsafeBufferUsage.cpp.
|
inlineoverridevirtual |
|
overridevirtual |
Definition at line 2768 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 1880 of file UnsafeBufferUsage.cpp.
References Node.
|
inlinestatic |
Definition at line 1867 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.