[clang] [OpenACC] Implement Sema work for OpenACC Clauses (PR #87821)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 5 12:32:00 PDT 2024
================
@@ -12252,6 +12252,8 @@ def warn_acc_clause_unimplemented
def err_acc_construct_appertainment
: Error<"OpenACC construct '%0' cannot be used here; it can only "
"be used in a statement context">;
+def err_acc_clause_appertainment
+ : Error<"OpenACC '%1' clause not valid on '%0' directive">;
----------------
Endilll wrote:
```suggestion
: Error<"OpenACC '%1' clause is not valid on '%0' directive">;
```
https://github.com/llvm/llvm-project/pull/87821
More information about the cfe-commits
mailing list