macOS goes to 11! This patch adds support for the new version number by ensuring
that existing version comparison routines, and the 'darwin' OS identifier
understands the new numbering scheme. It also adds a new utility method
'getCanonicalVersionForOS', which lets users translate some uses of
macOS 10.16 into macOS 11. This utility method will be used in upcoming
clang and swift patches.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/unittests/ADT/TripleTest.cpp | ||
---|---|---|
1264 | I will remove this triple as this use-case is not relevant and the check below is failing. |
llvm/unittests/ADT/TripleTest.cpp | ||
---|---|---|
1264 | When reading the changes to getMacOSXVersion above I was curious about this case as well - as the code there implies the following one would be 12.0, not 11.1 - but I presume it's too soon to say what that will be? So in that case, removing the test case for now sounds sensible. |
llvm/unittests/ADT/TripleTest.cpp | ||
---|---|---|
1264 | Correct. |
I will remove this triple as this use-case is not relevant and the check below is failing.