================
@@ -156,6 +156,64 @@ class OpenACCSelfClause : public 
OpenACCClauseWithCondition {
                                    Expr *ConditionExpr, SourceLocation EndLoc);
 };
 
+/// Represents one of a handful of classes that have integer expressions.
+/// Semantically, many only permit a single expression, with a few that permit
+/// up to 3.
+class OpenACCClauseWithIntExprs : public OpenACCClauseWithParams {
+  llvm::SmallVector<Expr *> IntExprs;
----------------
erichkeane wrote:

I moved this closer to tail-allocation.  I didn't see value in doing this with 
tail-allocation in THIS case because it is just a single `Expr`.  However, I 
changed this class to work correctly when I inherit from it directly with 
'trailing' storage.

https://github.com/llvm/llvm-project/pull/89151
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to