Home
last modified time | relevance | path

Searched refs:LastDRE (Results 1 – 2 of 2) sorted by relevance

/external/clang/lib/Sema/
DSemaStmt.cpp1588 DeclRefExpr *LoopDRE, *LastDRE; in CheckForRedundantIteration() local
1591 if (!ProcessIterationStmt(S, LastStmt, LastIncrement, LastDRE)) return; in CheckForRedundantIteration()
1596 LoopDRE->getDecl() != LastDRE->getDecl()) return; in CheckForRedundantIteration()
1600 S.Diag(LastDRE->getLocation(), diag::warn_redundant_loop_iteration) in CheckForRedundantIteration()
1601 << LastDRE->getDecl() << LastIncrement; in CheckForRedundantIteration()
/external/llvm-project/clang/lib/Sema/
DSemaStmt.cpp1774 DeclRefExpr *LoopDRE, *LastDRE; in CheckForRedundantIteration() local
1777 if (!ProcessIterationStmt(S, LastStmt, LastIncrement, LastDRE)) return; in CheckForRedundantIteration()
1782 LoopDRE->getDecl() != LastDRE->getDecl()) return; in CheckForRedundantIteration()
1786 S.Diag(LastDRE->getLocation(), diag::warn_redundant_loop_iteration) in CheckForRedundantIteration()
1787 << LastDRE->getDecl() << LastIncrement; in CheckForRedundantIteration()