================
@@ -639,6 +639,9 @@ OpenACCClause
*SemaOpenACCClauseVisitor::VisitVectorLengthClause(
OpenACCClause *SemaOpenACCClauseVisitor::VisitAsyncClause(
SemaOpenACC::OpenACCParsedClause &Clause) {
+ if (DisallowSinceLastDeviceType<OpenACCAsyncClause>(Clause))
----------------
mmha wrote:
Can you update the comment on `DisallowSinceLastDeviceType()` to include
`async`?
https://github.com/llvm/llvm-project/pull/136626
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits