================
@@ -37,6 +37,13 @@ enum class Frontend { LLVM, Flang, Clang };
 static void emitDirectivesConstexprImpl(const DirectiveLanguage &DirLang,
                                         raw_ostream &OS);
 
+static StringRef getVersionType(const DirectiveLanguage &DirLang) {
+  if (DirLang.getName() == "OpenMP") {
+    return "Version";
+  }
----------------
alexey-bataev wrote:

```suggestion
  if (DirLang.getName() == "OpenMP")
    return "Version";
```

https://github.com/llvm/llvm-project/pull/219820
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to