Lines Matching refs:AC

40   AnalysisDeclContext *AC;  member in __anon086543d10111::FindIdenticalExprVisitor
45 : BR(B), Checker(Checker), AC(A) {} in FindIdenticalExprVisitor()
72 BR.EmitBasicReport(AC->getDecl(), Checker, in reportIdenticalExpr()
92 if (isIdenticalStmt(AC->getASTContext(), RHS, B2->getRHS())) { in checkBitwiseOrLogicalOp()
100 if (isIdenticalStmt(AC->getASTContext(), RHS, LHS)) { in checkBitwiseOrLogicalOp()
119 …if (InnerIf && isIdenticalStmt(AC->getASTContext(), I->getCond(), InnerIf->getCond(), /*ignoreSide… in VisitIfStmt()
120 PathDiagnosticLocation ELoc(InnerIf->getCond(), BR.getSourceManager(), AC); in VisitIfStmt()
121 BR.EmitBasicReport(AC->getDecl(), Checker, "Identical conditions", in VisitIfStmt()
141 if (isIdenticalStmt(AC->getASTContext(), Cond1, Cond2, false)) { in VisitIfStmt()
143 PathDiagnosticLocation ELoc(Cond2, BR.getSourceManager(), AC); in VisitIfStmt()
144 BR.EmitBasicReport(AC->getDecl(), Checker, "Identical conditions", in VisitIfStmt()
171 if (isIdenticalStmt(AC->getASTContext(), Stmt1, Stmt2, true)) { in VisitIfStmt()
173 PathDiagnosticLocation::createBegin(I, BR.getSourceManager(), AC); in VisitIfStmt()
174 BR.EmitBasicReport(AC->getDecl(), Checker, in VisitIfStmt()
254 if (isIdenticalStmt(AC->getASTContext(), B->getLHS(), B->getRHS())) { in checkComparisonOp()
262 BR.EmitBasicReport(AC->getDecl(), Checker, in checkComparisonOp()
274 if (isIdenticalStmt(AC->getASTContext(), C->getTrueExpr(), in VisitConditionalOperator()
284 AC->getDecl(), Checker, in VisitConditionalOperator()