[flang-commits] [clang] [flang] [llvm] [OpenMP] Make OpenMP version have separate type (PR #219820)
Alexey Bataev via flang-commits
flang-commits at lists.llvm.org
Mon Aug 31 13:01:33 PDT 2026
================
@@ -209,15 +209,17 @@ bool isCombinedConstruct(Directive D) {
return !getLeafConstructs(D).empty() && !isCompositeConstruct(D);
}
-ArrayRef<unsigned> getOpenMPVersions() {
- static unsigned Versions[]{31, 40, 45, 50, 51, 52, 60, 61};
+ArrayRef<Version> getOpenMPVersions() {
+ // static Version Versions[]{31, 40, 45, 50, 51, 52, 60, 61};
----------------
alexey-bataev wrote:
Restore
https://github.com/llvm/llvm-project/pull/219820
More information about the flang-commits
mailing list