[clang] [OpenACC][NFC] Add OpenACC Clause AST Nodes/infrastructure (PR #87675)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 4 15:41:27 PDT 2024
================
@@ -47,6 +58,7 @@ class OpenACCConstructStmt : public Stmt {
SourceLocation getBeginLoc() const { return Range.getBegin(); }
SourceLocation getEndLoc() const { return Range.getEnd(); }
+ const ArrayRef<const OpenACCClause *> clauses() const { return Clauses; }
----------------
alexey-bataev wrote:
```suggestion
ArrayRef<const OpenACCClause *> clauses() const { return Clauses; }
```
https://github.com/llvm/llvm-project/pull/87675
More information about the cfe-commits
mailing list