Searched refs:LastDRE (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 1588 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/ |
D | SemaStmt.cpp | 1774 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()
|