[all-commits] [llvm/llvm-project] edabb5: [clang] Clean up macOS version flags (#95374)

Gábor Horváth via All-commits all-commits at lists.llvm.org
Sun Jun 16 03:25:48 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edabb5c12ed9312c3366286a69e881f625102a85
      https://github.com/llvm/llvm-project/commit/edabb5c12ed9312c3366286a69e881f625102a85
  Author: Gábor Horváth <xazax.hun at gmail.com>
  Date:   2024-06-16 (Sun, 16 Jun 2024)

  Changed paths:
    M clang/docs/CommandGuide/clang.rst
    M clang/docs/LanguageExtensions.rst
    M clang/include/clang/Driver/ToolChain.h
    M clang/test/Coverage/targets.c
    M clang/test/Driver/arc.c
    M clang/test/Driver/arclite-link.c
    M clang/test/Driver/darwin-objc-defaults.m
    M clang/test/Driver/darwin-stdlib-dont-pass-in-c.c
    M clang/test/Driver/darwin-stdlib.cpp
    M clang/test/Driver/darwin-version.c
    M clang/test/Driver/darwin-xarch.c
    M clang/test/Driver/fsanitize.c
    M clang/test/Driver/macos-apple-silicon-slice-link-libs-darwin-only.cpp
    M clang/test/Driver/sanitizer-ld.c
    M clang/test/Driver/stack-protector.c
    M clang/test/Index/TestClassForwardDecl.m
    M clang/test/Index/c-index-api-loadTU-test.m
    M clang/test/Index/c-index-getCursor-test.m
    M clang/tools/scan-build/libexec/ccc-analyzer

  Log Message:
  -----------
  [clang] Clean up macOS version flags (#95374)

The -mmacos-version-min flag is preferred over -mmacosx-version-min.
This patch updates the tests and documentation to make this clear and
also adds the missing logic to scan build to handle the new flag.

Fixes #86376.

Co-authored-by: Gabor Horvath <gaborh at apple.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