jyu2-git wrote: I don't really understand the problem. So you mean static_cast<OpenMPMapClauseKind> having problem? We have two function like this the other one is isMapModifier. I just wonder why we don't have problem before. https://github.com/llvm/llvm-project/pull/90935