[clang] [OpenACC] Implement 'default' clause parsing. (PR #77002)

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 5 03:51:02 PST 2024


================
@@ -90,9 +90,21 @@ enum class OpenACCClauseKind {
   Vector,
   // 'nohost' clause, allowed on 'routine' directives.
   NoHost,
+  // 'default' clause, allowed on parallel, serial, kernel (and compound)
+  // constructs.
+  Default,
   // Represents an invalid clause, for the purposes of parsing.
   Invalid,
 };
+
+enum class OpenACCDefaultClauseKind {
+  // 'none' option.
----------------
alexey-bataev wrote:

Use `///` style here

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


More information about the cfe-commits mailing list