[llvm-branch-commits] [clang] [llvm] [clang][OpenMP] Use different ids for block and s/a ORDERED directive (PR #214728)
Erich Keane via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Aug 7 06:44:28 PDT 2026
================
@@ -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
More information about the llvm-branch-commits
mailing list