================ @@ -165,8 +167,9 @@ void STLAlgorithmModeling::Find(CheckerContext &C, const CallExpr *CE, // FIXME: Reverse iterators Pos = getIteratorPosition(State, Param); if (Pos) { - StateFound = createIteratorPosition(StateFound, RetVal, Pos->getContainer(), - CE, LCtx, C.blockCount()); + StateFound = + createIteratorPosition(StateFound, RetVal, Pos->getContainer(), + C.getCFGElementRef(), LCtx, C.blockCount()); ---------------- isuckatcs wrote:
Isn't this element ref different from the element ref of `CE`? https://github.com/llvm/llvm-project/pull/128251 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits