================
@@ -583,10 +581,11 @@ void ExprEngine::handleConstructor(const Expr *E,
 
       // No element construction will happen in a 0 size array.
       if (isZeroSizeArray()) {
-        NodeBuilder Bldr(Pred, destNodes, *currBldrCtx);
         static SimpleProgramPointTag T{"ExprEngine",
                                        "Skipping 0 size array construction"};
-        Bldr.generateNode(CE, Pred, State, &T);
+        const ProgramPoint &P = ProgramPoint::getProgramPoint(
+            CE, ProgramPoint::PostStmtKind, Pred->getStackFrame(), &T);
----------------
NagyDonat wrote:

```suggestion
        PostStmt P(CE, SF, &T);
```
... or perhaps inline `PostStmt(CE, SF, &T)` instead of `P` in the next 
statement.

https://github.com/llvm/llvm-project/pull/212186
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to