[clang] [OpenACC] Private Clause on Compute Constructs (PR #90521)

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 30 03:54:06 PDT 2024


================
@@ -112,6 +116,18 @@ class SemaOpenACC : public SemaBase {
       return const_cast<OpenACCParsedClause *>(this)->getIntExprs();
     }
 
+    // Non-const version that permits modifying of the VarList for the purposes
+    // of Sema enforcement.
+    SmallVector<Expr *> &getVarList() {
----------------
alexey-bataev wrote:

```suggestion
    ArrayRef<Expr *> getVarList() {
```

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


More information about the cfe-commits mailing list