================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to