[clang] [llvm] [OpenMP] OpenMP 5.1 "assume" directive parsing support (PR #92731)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 29 06:11:23 PDT 2024
================
@@ -2013,6 +2014,179 @@ class OMPMergeableClause : public OMPClause {
}
};
+/// This represents the 'absent' clause in the '#pragma omp assume'
+/// directive.
+///
+/// \code
+/// #pragma omp assume absent(<directive-name list>)
+/// \endcode
+/// In this example directive '#pragma omp assume' has an 'absent' clause.
+class OMPAbsentClause final : public OMPNoChildClause<llvm::omp::OMPC_absent> {
+ llvm::SmallSet<OpenMPDirectiveKind, 4> DirectiveKinds;
----------------
alexey-bataev wrote:
Must be tail allocated
https://github.com/llvm/llvm-project/pull/92731
More information about the llvm-commits
mailing list