[flang-commits] [flang] [llvm] [Flang][OpenMP] add Apply clause for OpenMP Flang (PR #204225)

Krzysztof Parzyszek via flang-commits flang-commits at lists.llvm.org
Wed Jun 17 06:18:43 PDT 2026


================
@@ -354,11 +359,16 @@ static void emitDirectivesDecl(const RecordKeeper &Records, raw_ostream &OS) {
     OS << "\n";
     OS << "constexpr std::size_t getMaxLeafCount() { return "
        << getMaxLeafCount(DirLang) << "; }\n";
+    OS << "LLVM_ABI bool isAllowedLoopModifier(Directive D, LoopModifier "
+          "LM);\n";
+    OS << "LLVM_ABI StringRef get" << Lang
+       << "LoopModifierName(LoopModifier LM, unsigned Ver = 0);\n";
----------------
kparzysz wrote:

Those names may be historical artifacts.  The reason for the namespace is not to have to include it in the function name.

https://github.com/llvm/llvm-project/pull/204225


More information about the flang-commits mailing list