[all-commits] [llvm/llvm-project] c5ccb7: [clang][Darwin] Always set the default C++ Standar...

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Aug 3 12:40:56 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5ccb78ade8136134e0ca9dde64de97f913f0f8c
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2022-08-03 (Wed, 03 Aug 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/test/Driver/darwin-iphone-defaults.m
    M clang/test/Driver/darwin-stdlib.cpp

  Log Message:
  [clang][Darwin] Always set the default C++ Standard Library to libc++

Newer SDKs don't even provide libstdc++ headers, so it's effectively
never valid to build for libstdc++ unless the user explicitly asks
for it (in which case they will need to provide include paths and more).

More information about the All-commits mailing list