[clang] [NFC][Clang] Add `setExprs` overload to reduce some code duplication (PR #139749)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue May 13 12:41:22 PDT 2025


================
@@ -492,7 +492,7 @@ class OpenACCSelfClause final
 
 /// Represents a clause that has one or more expressions associated with it.
 class OpenACCClauseWithExprs : public OpenACCClauseWithParams {
-  MutableArrayRef<Expr *> Exprs;
+  MutableArrayRef<Expr *> Storage;
----------------
erichkeane wrote:

THIS change actually doesn't make sense.  This is actually supposed to be the `Exprs` that this `WithExprs` refers to.

https://github.com/llvm/llvm-project/pull/139749


More information about the cfe-commits mailing list