Lines Matching refs:MatchFinder
25 StringRef getText(const MatchFinder::MatchResult &Result, SourceRange Range) { in getText()
32 StringRef getText(const MatchFinder::MatchResult &Result, T &Node) { in getText()
61 const Expr *getBoolLiteral(const MatchFinder::MatchResult &Result, in getBoolLiteral()
183 std::string compareExpressionToConstant(const MatchFinder::MatchResult &Result, in compareExpressionToConstant()
194 std::string compareExpressionToNullPtr(const MatchFinder::MatchResult &Result, in compareExpressionToNullPtr()
201 std::string compareExpressionToZero(const MatchFinder::MatchResult &Result, in compareExpressionToZero()
206 std::string replacementExpression(const MatchFinder::MatchResult &Result, in replacementExpression()
319 bool containsDiscardedTokens(const MatchFinder::MatchResult &Result, in containsDiscardedTokens()
344 const MatchFinder::MatchResult &Result) in Visitor()
354 const MatchFinder::MatchResult &Result;
379 const MatchFinder::MatchResult &Result, const BinaryOperator *Op) { in reportBinOp()
442 void SimplifyBooleanExprCheck::matchBoolCondition(MatchFinder *Finder, in matchBoolCondition()
452 void SimplifyBooleanExprCheck::matchTernaryResult(MatchFinder *Finder, in matchTernaryResult()
463 void SimplifyBooleanExprCheck::matchIfReturnsBool(MatchFinder *Finder, in matchIfReturnsBool()
480 void SimplifyBooleanExprCheck::matchIfAssignsBool(MatchFinder *Finder, in matchIfAssignsBool()
510 void SimplifyBooleanExprCheck::matchCompoundIfReturnsBool(MatchFinder *Finder, in matchCompoundIfReturnsBool()
531 void SimplifyBooleanExprCheck::registerMatchers(MatchFinder *Finder) { in registerMatchers()
550 void SimplifyBooleanExprCheck::check(const MatchFinder::MatchResult &Result) { in check()
585 const ast_matchers::MatchFinder::MatchResult &Result, SourceLocation Loc, in issueDiag()
598 const MatchFinder::MatchResult &Result, const Expr *TrueConditionRemoved) { in replaceWithThenStatement()
606 const MatchFinder::MatchResult &Result, const Expr *FalseConditionRemoved) { in replaceWithElseStatement()
615 const MatchFinder::MatchResult &Result, const ConditionalOperator *Ternary, in replaceWithCondition()
625 const MatchFinder::MatchResult &Result, const IfStmt *If, bool Negated) { in replaceWithReturnCondition()
636 const MatchFinder::MatchResult &Result, const CompoundStmt *Compound, in replaceCompoundReturnWithCondition()
676 const MatchFinder::MatchResult &Result, const IfStmt *IfAssign, in replaceWithAssignment()