[clang] [llvm] [OpenMP] OpenMP 5.1 "assume" directive parsing support (PR #92731)

Alexey Bataev via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 1 15:02:22 PDT 2024


================
@@ -6468,6 +6468,36 @@ class OMPErrorDirective final : public OMPExecutableDirective {
     return T->getStmtClass() == OMPErrorDirectiveClass;
   }
 };
+
+// It's not really an executable directive, but it seems convenient to use
+// that as the parent class.
+class OMPAssumeDirective : public OMPExecutableDirective {
----------------
alexey-bataev wrote:

`class OMPAssumeDirective final : public OMPExecutableDirective`

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


More information about the llvm-commits mailing list