[Triple] Add a "macos" OS type that acts as a synonym for "macosx"
authorAlex Lorenz <arphaman@gmail.com>
Wed, 3 May 2017 10:42:35 +0000 (10:42 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Wed, 3 May 2017 10:42:35 +0000 (10:42 +0000)
commitc748d7b57b2e383df1dc4ca088a1d6ea49ab1a55
treef6375f274697e4ad88695a4351273ed7c3f26d29
parent05cfa83843943742762618c3a0e96dd33681778c
[Triple] Add a "macos" OS type that acts as a synonym for "macosx"

The "macosx" OS type is still the canonical type. In the future "macos" will
become the canonical OS type (but we will still support "macosx").

rdar://27043820

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

llvm-svn: 302011
llvm/lib/Support/Triple.cpp
llvm/test/CodeGen/X86/version_directive.ll