[all-commits] [llvm/llvm-project] 4894d4: [clang][driver] Add a -target-variant alias for -d...

Ian Anderson via All-commits all-commits at lists.llvm.org
Fri Jul 17 01:32:44 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4894d4e87c332af24809b20573d880a4073b738b
      https://github.com/llvm/llvm-project/commit/4894d4e87c332af24809b20573d880a4073b738b
  Author: Ian Anderson <iana at apple.com>
  Date:   2026-07-17 (Fri, 17 Jul 2026)

  Changed paths:
    M clang/include/clang/Options/Options.td
    M clang/test/Driver/darwin-target-variant-sdk-version.c

  Log Message:
  -----------
  [clang][driver] Add a -target-variant alias for -darwin-target-variant (#208388)

Swift Build uses the `-target-variant` argument which is an alias for
-darwin-target-variant that's only present in the Xcode version of
clang. Upstream it for general support and parity with swiftc.

Co-authored-by: Alex Lorenz <arphaman at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list