Searched refs:InnerIf (Results 1 – 2 of 2) sorted by relevance
77 const auto *InnerIf = Result.Nodes.getNodeAs<IfStmt>(InnerIfStr); in check() local107 auto Diag = diag(InnerIf->getBeginLoc(), "redundant condition %0") << CondVar; in check()112 dyn_cast<BinaryOperator>(InnerIf->getCond()->IgnoreParenImpCasts()); in check()114 if (isa<DeclRefExpr>(InnerIf->getCond()->IgnoreParenImpCasts()) || in check()116 SourceLocation IfBegin = InnerIf->getBeginLoc(); in check()117 const Stmt *Body = InnerIf->getThen(); in check()161 cast<BinaryOperator>(InnerIf->getCond()->IgnoreParenImpCasts()); in check()
117 const IfStmt *InnerIf = dyn_cast<IfStmt>(*CS->body_begin()); in VisitIfStmt() local118 …if (InnerIf && isIdenticalStmt(AC->getASTContext(), I->getCond(), InnerIf->getCond(), /*IgnoreSide… in VisitIfStmt()119 PathDiagnosticLocation ELoc(InnerIf->getCond(), BR.getSourceManager(), AC); in VisitIfStmt()