... it's easier to suppress warnings internally, where we can detect the compiler.
- Rename TEST_COMPILER_C1XX to TEST_COMPILER_MSVC
- Rename all TEST_WORKAROUND_C1XX_<meow> to TEST_WORKAROUND_MSVC_<meow>
Paths
| Differential D117422
[libcxx][test] compiler options are non-portable ClosedPublic Authored by CaseyCarter on Jan 16 2022, 1:55 AM.
Details
Summary ... it's easier to suppress warnings internally, where we can detect the compiler.
Diff Detail
Event TimelineCaseyCarter created this revision. Herald added 1 blocking reviewer(s): Restricted Project. · View Herald TranscriptJan 16 2022, 1:55 AM Comment Actions Could we include "test_macros.h" and use TEST_COMPILER_CLANG/TEST_COMPILER_C1XX instead? (By the way, it seems to me that TEST_COMPILER_C1XX should be renamed to something more sensible). This revision now requires changes to proceed.Jan 17 2022, 8:18 AM Comment Actions
Done.
Renamed "C1XX" to "MSVC" everywhere except for one comment about "Microsoft's C1XX front end" where the precision seems significant. This revision is now accepted and ready to land.Jan 18 2022, 7:16 AM Closed by commit rG4e00a1921fb1: [libcxx][test] compiler options are non-portable (authored by CaseyCarter). · Explain WhyJan 18 2022, 11:35 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 400929 libcxx/include/__support/win32/limits_msvc_win32.h
libcxx/test/std/algorithms/alg.modifying.operations/alg.generate/generate_n.pass.cpp
libcxx/test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp
libcxx/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/assign_t.pass.cpp
libcxx/test/std/library/description/conventions/expos.only.func/synth_three_way.pass.cpp
libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/test_neg_one.pass.cpp
libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/values.pass.cpp
libcxx/test/std/ranges/range.factories/range.iota.view/ctor.value.bound.pass.cpp
libcxx/test/std/ranges/range.factories/range.iota.view/end.pass.cpp
libcxx/test/std/ranges/range.factories/range.iota.view/iterator/star.pass.cpp
libcxx/test/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp
libcxx/test/std/utilities/meta/meta.const.eval/is_constant_evaluated.pass.cpp
libcxx/test/std/utilities/template.bitset/bitset.cons/char_ptr_ctor.pass.cpp
libcxx/test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cpp
libcxx/test/std/utilities/template.bitset/bitset.members/reset_one.pass.cpp
libcxx/test/std/utilities/tuple/tuple.tuple/tuple.rel/three_way.pass.cpp
libcxx/test/std/utilities/variant/variant.variant/variant.ctor/copy.pass.cpp
libcxx/test/std/utilities/variant/variant.variant/variant.ctor/move.pass.cpp
libcxx/test/support/archetypes.h
libcxx/test/support/charconv_test_helpers.h
libcxx/test/support/count_new.h
libcxx/test/support/test.workarounds/c1xx_broken_is_trivially_copyable.pass.cpp
libcxx/test/support/test.workarounds/c1xx_broken_za_ctor_check.pass.cpp
libcxx/test/support/test_macros.h
libcxx/test/support/test_workarounds.h
|