[all-commits] [llvm/llvm-project] 65d83b: [clang][Darwin] Re-apply "Always set the default C...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Tue Aug 16 06:28:53 PDT 2022
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2022-08-16 (Tue, 16 Aug 2022)
[clang][Darwin] Re-apply "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).
This is a re-application of c5ccb78ade81 which had been reverted in
33171df9cc7f because it broke the Fuchsia CI bots. The issue was that
the test was XPASSing because it didn't fail anymore when the
CLANG_DEFAULT_CXX_LIB was set to libc++, which seems to be done for
Fuchsia. Instead, the test only fails if CLANG_DEFAULT_CXX_LIB is
set to libstdc++.
As a fly-by fix, also adjust the triple used by various tests to
something that is supported. Those tests were shown to fail on
Differential Revision: https://reviews.llvm.org/D131274
More information about the All-commits