Lines Matching refs:ExprMutationAnalyzer
134 template <class T, class F = const Stmt *(ExprMutationAnalyzer::*)(const T *)>
136 ExprMutationAnalyzer *Analyzer, F Finder) { in tryEachMatch()
147 const Stmt *ExprMutationAnalyzer::findMutation(const Expr *Exp) { in findMutation()
149 {&ExprMutationAnalyzer::findDirectMutation, in findMutation()
150 &ExprMutationAnalyzer::findMemberMutation, in findMutation()
151 &ExprMutationAnalyzer::findArrayElementMutation, in findMutation()
152 &ExprMutationAnalyzer::findCastMutation, in findMutation()
153 &ExprMutationAnalyzer::findRangeLoopMutation, in findMutation()
154 &ExprMutationAnalyzer::findReferenceMutation, in findMutation()
155 &ExprMutationAnalyzer::findFunctionArgMutation}, in findMutation()
159 const Stmt *ExprMutationAnalyzer::findMutation(const Decl *Dec) { in findMutation()
160 return tryEachDeclRef(Dec, &ExprMutationAnalyzer::findMutation); in findMutation()
163 const Stmt *ExprMutationAnalyzer::findPointeeMutation(const Expr *Exp) { in findPointeeMutation()
167 const Stmt *ExprMutationAnalyzer::findPointeeMutation(const Decl *Dec) { in findPointeeMutation()
168 return tryEachDeclRef(Dec, &ExprMutationAnalyzer::findPointeeMutation); in findPointeeMutation()
171 const Stmt *ExprMutationAnalyzer::findMutationMemoized( in findMutationMemoized()
189 const Stmt *ExprMutationAnalyzer::tryEachDeclRef(const Decl *Dec, in tryEachDeclRef()
202 bool ExprMutationAnalyzer::isUnevaluated(const Stmt *Exp, const Stmt &Stm, in isUnevaluated()
234 bool ExprMutationAnalyzer::isUnevaluated(const Expr *Exp) { in isUnevaluated()
239 ExprMutationAnalyzer::findExprMutation(ArrayRef<BoundNodes> Matches) { in findExprMutation()
240 return tryEachMatch<Expr>(Matches, this, &ExprMutationAnalyzer::findMutation); in findExprMutation()
244 ExprMutationAnalyzer::findDeclMutation(ArrayRef<BoundNodes> Matches) { in findDeclMutation()
245 return tryEachMatch<Decl>(Matches, this, &ExprMutationAnalyzer::findMutation); in findDeclMutation()
248 const Stmt *ExprMutationAnalyzer::findExprPointeeMutation( in findExprPointeeMutation()
251 &ExprMutationAnalyzer::findPointeeMutation); in findExprPointeeMutation()
254 const Stmt *ExprMutationAnalyzer::findDeclPointeeMutation( in findDeclPointeeMutation()
257 &ExprMutationAnalyzer::findPointeeMutation); in findDeclPointeeMutation()
260 const Stmt *ExprMutationAnalyzer::findDirectMutation(const Expr *Exp) { in findDirectMutation()
386 const Stmt *ExprMutationAnalyzer::findMemberMutation(const Expr *Exp) { in findMemberMutation()
398 const Stmt *ExprMutationAnalyzer::findArrayElementMutation(const Expr *Exp) { in findArrayElementMutation()
412 const Stmt *ExprMutationAnalyzer::findCastMutation(const Expr *Exp) { in findCastMutation()
449 const Stmt *ExprMutationAnalyzer::findRangeLoopMutation(const Expr *Exp) { in findRangeLoopMutation()
512 const Stmt *ExprMutationAnalyzer::findReferenceMutation(const Expr *Exp) { in findReferenceMutation()
546 const Stmt *ExprMutationAnalyzer::findFunctionArgMutation(const Expr *Exp) { in findFunctionArgMutation()
606 ExprMutationAnalyzer InitAnalyzer(*Init->getInit(), Context); in FunctionParmMutationAnalyzer()