================ @@ -501,20 +501,28 @@ class OpenACCClauseWithExprs : public OpenACCClauseWithParams { /// Used only for initialization, the leaf class can initialize this to /// trailing storage. - void setExprs(MutableArrayRef<Expr *> NewExprs) { - assert(Exprs.empty() && "Cannot change Exprs list"); - Exprs = NewExprs; + void setExprs(MutableArrayRef<Expr *> NewStorage) { ---------------- erichkeane wrote:
Here it isn't the `Storage` either, it is the actual data that we want already initialized. https://github.com/llvm/llvm-project/pull/139749 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits