[all-commits] [llvm/llvm-project] 1c4a42: [Triple] support macOS 11 os version number

Alex Lorenz via All-commits all-commits at lists.llvm.org
Mon Jun 22 23:04:06 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c4a42a4d88eeca8de47d615a23fc654a39abdb7
      https://github.com/llvm/llvm-project/commit/1c4a42a4d88eeca8de47d615a23fc654a39abdb7
  Author: Alex Lorenz <arphaman at gmail.com>
  Date:   2020-06-22 (Mon, 22 Jun 2020)

  Changed paths:
    M llvm/include/llvm/ADT/Triple.h
    M llvm/lib/Support/Triple.cpp
    M llvm/unittests/ADT/TripleTest.cpp

  Log Message:
  -----------
  [Triple] support macOS 11 os version number

macOS goes to 11! This commit 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 commits.

Differential Revision: https://reviews.llvm.org/D82337




More information about the All-commits mailing list