[all-commits] [llvm/llvm-project] 80e66a: [clang][NFC] Refactor logic for picking standard l...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Mar 22 09:36:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80e66a05b6fad7d5f0ef71d5e0a74ce5ddc157a5
      https://github.com/llvm/llvm-project/commit/80e66a05b6fad7d5f0ef71d5e0a74ce5ddc157a5
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-03-22 (Tue, 22 Mar 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Darwin.cpp

  Log Message:
  -----------
  [clang][NFC] Refactor logic for picking standard library on Apple

Flip the logic around: always default to libc++ except on older platforms,
instead of defaulting to libstdc++ except on newer platforms. Since roughly
all supported platforms use libc++ now, it makes more sense to make that
the default, and allows the removal of some downstream diff.

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




More information about the All-commits mailing list