[clang] [clang][OpenMP] Implement `isOpenMPExecutableDirective` (PR #97089)
Krzysztof Parzyszek via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 28 11:22:45 PDT 2024
================
@@ -368,6 +368,14 @@ bool needsTaskBasedThreadLimit(OpenMPDirectiveKind DKind);
/// is restricted only to memory order clauses of "OMPC_acquire",
/// "OMPC_relaxed" and "OMPC_seq_cst".
bool checkFailClauseParameter(OpenMPClauseKind FailClauseParameter);
+
+/// Checks if the specified directive is considered as "executable". This
+/// combines the OpenMP categories of "executable" and "subsidiary", plus
+/// any other directives that are should be treated as executable.
----------------
kparzysz wrote:
Done
https://github.com/llvm/llvm-project/pull/97089
More information about the cfe-commits
mailing list