================
@@ -4114,3 +4124,35 @@ void
*ProgramStateTrait<ReplayWithoutInlining>::GDMIndex() {
}
void ExprEngine::anchor() { }
+
+void ExprEngine::ConstructInitList(const Expr *E, ArrayRef<Expr *> Args,
+ bool IsTransparent, ExplodedNode *Pred,
+ ExplodedNodeSet &Dst) {
+ assert((isa<InitListExpr>(E) || isa<CXXParenListInitExpr>(E)) &&
+ "Expected InitListExpr or CXXParenListInitExpr");
----------------
steakhal wrote:
```suggestion
assert((isa<InitListExpr, CXXParenListInitExpr>(E)));
```
https://github.com/llvm/llvm-project/pull/148988
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits