================
@@ -554,6 +554,9 @@ class OMPExecutableDirective : public Stmt {
}
OpenMPDirectiveKind getDirectiveKind() const { return Kind; }
+ void setDirectiveKind(OpenMPDirectiveKind D) const {
----------------
kparzysz wrote:
This is removed in the last PR in the stack, the one that separates this class
into two. I needed this hack because otherwise there is no way to reset the
directive id once it's been set (it's stored in the base class).
This could have been avoided, but I'd have to merge this and the last PRs into
one. Since that would be a large change I kept them separate.
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