================
@@ -554,6 +554,9 @@ class OMPExecutableDirective : public Stmt {
   }
 
   OpenMPDirectiveKind getDirectiveKind() const { return Kind; }
+  void setDirectiveKind(OpenMPDirectiveKind D) const {
----------------
erichkeane wrote:

Uh, so what is going on here?  Casting away const here in a 'set' function 
seems like a really bad idea/smell.

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