[PATCH] D82337: [Triple] support macOS 11 os version number

Alex Lorenz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 22 16:41:57 PDT 2020


arphaman created this revision.
arphaman added reviewers: steven_wu, dexonsmith.
Herald added subscribers: ributzka, jkorous, hiraditya.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82337

Files:
  llvm/include/llvm/ADT/Triple.h
  llvm/lib/Support/Triple.cpp
  llvm/unittests/ADT/TripleTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82337.272568.patch
Type: text/x-patch
Size: 6880 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200622/3569f6ac/attachment.bin>


More information about the llvm-commits mailing list