[clang] [NFC][Clang] Add `setExprs` overload to reduce some code duplication (PR #139749)
Rahul Joshi via cfe-commits
cfe-commits at lists.llvm.org
Tue May 13 12:38:16 PDT 2025
================
@@ -506,6 +506,14 @@ class OpenACCClauseWithExprs : public OpenACCClauseWithParams {
Exprs = NewExprs;
}
+ /// Used only for initialization, the leaf class can initialize this to
+ /// trailing storage, and initialize the data in the trailing storage as well.
+ void setExprs(MutableArrayRef<Expr *> NewExprs, ArrayRef<Expr *> Values) {
----------------
jurahul wrote:
Done.
https://github.com/llvm/llvm-project/pull/139749
More information about the cfe-commits
mailing list