[llvm-branch-commits] [llvm] [Frontend] Introduce `getDirectiveCategory` for ACC/OMP directives (PR #94689)

Valentin Clement バレンタイン クレメン via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jun 6 15:16:09 PDT 2024


================
@@ -308,6 +310,7 @@ def ACC_Declare : Directive<"declare"> {
     VersionedClause<ACCC_Link>
   ];
   let association = AS_None;
+  let category = CA_Executable;
----------------
clementval wrote:

```suggestion
  let category = CA_Declarative;
```

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


More information about the llvm-branch-commits mailing list