[clang] [OpenACC] Implement Sema work for OpenACC Clauses (PR #87821)
Alexey Bataev via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 8 07:09:56 PDT 2024
================
@@ -82,22 +119,22 @@ bool SemaOpenACC::ActOnStartStmtDirective(OpenACCDirectiveKind K,
return diagnoseConstructAppertainment(*this, K, StartLoc, /*IsStmt=*/true);
}
-StmtResult SemaOpenACC::ActOnEndStmtDirective(OpenACCDirectiveKind K,
- SourceLocation StartLoc,
- SourceLocation EndLoc,
- StmtResult AssocStmt) {
+StmtResult SemaOpenACC::ActOnEndStmtDirective(
+ OpenACCDirectiveKind K, SourceLocation StartLoc, SourceLocation EndLoc,
+ MutableArrayRef<OpenACCClause *> Clauses, StmtResult AssocStmt) {
----------------
alexey-bataev wrote:
```suggestion
ArrayRef<OpenACCClause *> Clauses, StmtResult AssocStmt) {
```
https://github.com/llvm/llvm-project/pull/87821
More information about the cfe-commits
mailing list