[clang/mac] Make -mmacos-version-min the canonical spelling over -mmacosx-version-min
authorNico Weber <thakis@chromium.org>
Wed, 6 Jul 2022 20:43:48 +0000 (22:43 +0200)
committerNico Weber <thakis@chromium.org>
Tue, 12 Jul 2022 15:03:51 +0000 (11:03 -0400)
commitd489268392d231492827c5b0a3be88b707e1fd31
tree9879d94e290c1ba091ab19a8ca1c6150c439003e
parent9ff10a0d6278c1298ff6a966bb0481ad688eaf06
[clang/mac] Make -mmacos-version-min the canonical spelling over -mmacosx-version-min

This was promised 5 years ago in https://reviews.llvm.org/D32796,
let's do it.

Both flags are still accepted. No behavior change except for which
form shows up in --help output and in dumps of internal state
(such as with RC_DEBUG_OPTIONS).

Differential Revision: https://reviews.llvm.org/D129226
clang/include/clang/Driver/Options.td
clang/lib/Driver/ToolChains/Darwin.cpp
clang/test/Driver/darwin-debug-flags.c