Lines Matching refs:Stmt

105 AST_MATCHER_P(Stmt, canResolveToExpr, const Stmt *, Inner) {  in AST_MATCHER_P()  argument
129 const ast_matchers::internal::VariadicDynCastAllOfMatcher<Stmt, CXXTypeidExpr>
189 template <class T, class F = const Stmt *(ExprMutationAnalyzer::*)(const T *)>
190 const Stmt *tryEachMatch(ArrayRef<ast_matchers::BoundNodes> Matches, in tryEachMatch()
194 if (const Stmt *S = (Analyzer->*Finder)(Nodes.getNodeAs<T>(ID))) in tryEachMatch()
202 const Stmt *ExprMutationAnalyzer::findMutation(const Expr *Exp) { in findMutation()
214 const Stmt *ExprMutationAnalyzer::findMutation(const Decl *Dec) { in findMutation()
218 const Stmt *ExprMutationAnalyzer::findPointeeMutation(const Expr *Exp) { in findPointeeMutation()
222 const Stmt *ExprMutationAnalyzer::findPointeeMutation(const Decl *Dec) { in findPointeeMutation()
226 const Stmt *ExprMutationAnalyzer::findMutationMemoized( in findMutationMemoized()
237 if (const Stmt *S = (this->*Finder)(Exp)) in findMutationMemoized()
244 const Stmt *ExprMutationAnalyzer::tryEachDeclRef(const Decl *Dec, in tryEachDeclRef()
264 bool ExprMutationAnalyzer::isUnevaluated(const Stmt *Exp, const Stmt &Stm, in isUnevaluated()
266 return selectFirst<Stmt>( in isUnevaluated()
300 const Stmt *
305 const Stmt *
310 const Stmt *ExprMutationAnalyzer::findExprPointeeMutation( in findExprPointeeMutation()
316 const Stmt *ExprMutationAnalyzer::findDeclPointeeMutation( in findDeclPointeeMutation()
322 const Stmt *ExprMutationAnalyzer::findDirectMutation(const Expr *Exp) { in findDirectMutation()
443 return selectFirst<Stmt>("stmt", Matches); in findDirectMutation()
446 const Stmt *ExprMutationAnalyzer::findMemberMutation(const Expr *Exp) { in findMemberMutation()
459 const Stmt *ExprMutationAnalyzer::findArrayElementMutation(const Expr *Exp) { in findArrayElementMutation()
472 const Stmt *ExprMutationAnalyzer::findCastMutation(const Expr *Exp) { in findCastMutation()
482 if (const auto *CastStmt = selectFirst<Stmt>("stmt", ExplicitCast)) in findCastMutation()
495 if (const Stmt *S = findExprMutation(Casts)) in findCastMutation()
507 const Stmt *ExprMutationAnalyzer::findRangeLoopMutation(const Expr *Exp) { in findRangeLoopMutation()
528 selectFirst<Stmt>("stmt", RefToArrayRefToElements)) in findRangeLoopMutation()
556 selectFirst<Stmt>("stmt", RefToContainerBadIterators)) in findRangeLoopMutation()
570 const Stmt *ExprMutationAnalyzer::findReferenceMutation(const Expr *Exp) { in findReferenceMutation()
582 if (const Stmt *S = findExprMutation(Ref)) in findReferenceMutation()
602 const Stmt *ExprMutationAnalyzer::findFunctionArgMutation(const Expr *Exp) { in findFunctionArgMutation()
666 if (const Stmt *S = InitAnalyzer.findMutation(Parm)) in FunctionParmMutationAnalyzer()
673 const Stmt *
679 if (const Stmt *S = BodyAnalyzer.findMutation(Parm)) in findMutation()