[clang] [llvm] [OpenMP] OpenMP 5.1 "assume" directive parsing support (PR #92731)
Julian Brown via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 1 12:09:49 PDT 2024
================
@@ -342,6 +342,57 @@ template <class T> class OMPVarListClause : public OMPClause {
}
};
+template <class T> class OMPDirectiveListClause : public OMPClause {
----------------
jtb20 wrote:
The idea was to factor out common functionality shared by absent/contains clauses. It doesn't do a huge amount, admittedly, but I think it's still better than copy/pasting a bunch of code for the absent/contains clause classes. (OMPNoChildClause, OMPOneStmtClause are similar in intent though perhaps wider in applicability).
It should probably have a comment, if that's what you meant!
https://github.com/llvm/llvm-project/pull/92731
More information about the llvm-commits
mailing list