File tree Expand file tree Collapse file tree
include/phasar/PhasarLLVM/DataFlowSolver/IfdsIde/Solver Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -719,7 +719,8 @@ class IDESolver
719719 if (!LookupResults) {
720720 continue ;
721721 }
722- for (const auto &Entry : LookupResults->get ()) {
722+ for (size_t I = 0 ; I < LookupResults->get ().size (); ++I) {
723+ auto Entry = LookupResults->get ()[I];
723724 d_t dPrime = Entry.first ;
724725 EdgeFunctionPtrType fPrime = Entry.second ;
725726 n_t SP = Stmt;
@@ -1098,9 +1099,8 @@ class IDESolver
10981099 // return site using the composed function
10991100 auto RevLookupResult = JumpFn->reverseLookup (c, d4);
11001101 if (RevLookupResult) {
1101- llvm::SmallVector<std::pair<d_t , EdgeFunctionPtrType>, 2 > ResCopy (
1102- RevLookupResult->get ().begin (), RevLookupResult->get ().end ());
1103- for (const auto &ValAndFunc : ResCopy) {
1102+ for (size_t I = 0 ; I < RevLookupResult->get ().size (); ++I) {
1103+ auto ValAndFunc = RevLookupResult->get ()[I];
11041104 EdgeFunctionPtrType f3 = ValAndFunc.second ;
11051105 if (!f3->equal_to (AllTop)) {
11061106 d_t d3 = ValAndFunc.first ;
You can’t perform that action at this time.
0 commit comments