================
@@ -282,8 +284,9 @@ void ContainerModeling::handleEnd(CheckerContext &C, const 
Expr *CE,
   auto State = C.getState();
   auto EndSym = getContainerEnd(State, ContReg);
   if (!EndSym) {
-    State = createContainerEnd(State, ContReg, CE, C.getASTContext().LongTy,
-                               C.getLocationContext(), C.blockCount());
+    State = createContainerEnd(State, ContReg, C.getCFGElementRef(),
----------------
isuckatcs wrote:

Here we used to pass `CE`, not `C`. Also, this change makes `CE` an unused 
parameter.

Please try to indentify and remove them all.

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

Reply via email to