[llvm-branch-commits] [clang] [llvm] [clang][OpenMP] Use different ids for block and s/a ORDERED directive (PR #214728)
Alexey Bataev via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Aug 7 08:20:21 PDT 2026
================
@@ -554,6 +554,11 @@ class OMPExecutableDirective : public Stmt {
}
OpenMPDirectiveKind getDirectiveKind() const { return Kind; }
+ /// Horrible temporary hack to allow OMPOrderedDirective to be used
+ /// with both OMPD_ordered_standalone and OMPD_ordered_blockassoc.
+ void setDirectiveKind(OpenMPDirectiveKind D) const {
----------------
alexey-bataev wrote:
Make it private at least
https://github.com/llvm/llvm-project/pull/214728
More information about the llvm-branch-commits
mailing list