[clang][Darwin] Always set the default C++ Standard Library to libc++
authorLouis Dionne <ldionne.2@gmail.com>
Wed, 3 Aug 2022 18:20:02 +0000 (14:20 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Wed, 3 Aug 2022 19:40:27 +0000 (15:40 -0400)
commitc5ccb78ade8136134e0ca9dde64de97f913f0f8c
treead6589dd20904b6b1667533a666666b916bca7aa
parentb3335e8ed71618804c39e5cdd19b163ecdc92c26
[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).
clang/lib/Driver/ToolChains/Darwin.cpp
clang/test/Driver/darwin-iphone-defaults.m
clang/test/Driver/darwin-stdlib.cpp