clang-tools 20.0.0git
|
Public Member Functions | |
FindUsageOfThis (ASTContext &Ctxt) | |
template<class T > | |
const T * | getParent (const Expr *E) |
const Expr * | getParentExprIgnoreParens (const Expr *E) |
bool | VisitUnresolvedMemberExpr (const UnresolvedMemberExpr *) |
bool | VisitCXXConstCastExpr (const CXXConstCastExpr *) |
bool | visitUser (const ImplicitCastExpr *Cast) |
bool | visitUser (const MemberExpr *Member, bool OnConstObject) |
bool | VisitCXXThisExpr (const CXXThisExpr *E) |
Public Attributes | |
UsageKind | Usage = Unused |
Definition at line 52 of file MakeMemberFunctionConstCheck.cpp.
|
inline |
Definition at line 56 of file MakeMemberFunctionConstCheck.cpp.
|
inline |
Definition at line 59 of file MakeMemberFunctionConstCheck.cpp.
References E.
|
inline |
Definition at line 67 of file MakeMemberFunctionConstCheck.cpp.
Referenced by VisitCXXThisExpr(), and visitUser().
|
inline |
Definition at line 81 of file MakeMemberFunctionConstCheck.cpp.
References clang::tidy::readability::NonConst, and Usage.
|
inline |
Definition at line 172 of file MakeMemberFunctionConstCheck.cpp.
References clang::tidy::readability::Const, E, getParentExprIgnoreParens(), clang::tidy::readability::NonConst, Parent, Usage, and visitUser().
Referenced by clang::tidy::readability::AST_MATCHER().
|
inline |
Definition at line 74 of file MakeMemberFunctionConstCheck.cpp.
References clang::tidy::readability::NonConst, and Usage.
|
inline |
Definition at line 99 of file MakeMemberFunctionConstCheck.cpp.
References Parent, and visitUser().
Referenced by VisitCXXThisExpr(), and visitUser().
|
inline |
Definition at line 130 of file MakeMemberFunctionConstCheck.cpp.
References getParentExprIgnoreParens(), M, Parent, and visitUser().
Definition at line 57 of file MakeMemberFunctionConstCheck.cpp.
Referenced by clang::tidy::readability::AST_MATCHER(), VisitCXXConstCastExpr(), VisitCXXThisExpr(), and VisitUnresolvedMemberExpr().