================
@@ -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};
+ static Version Versions[]{Version(31), Version(40), Version(45), Version(50),
+ Version(51), Version(52), Version(60),
Version(61)};
----------------
alexey-bataev wrote:
Remove?
https://github.com/llvm/llvm-project/pull/219820
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits