[all-commits] [llvm/llvm-project] 4e00a1: [libcxx][test] compiler options are non-portable

Casey Carter via All-commits all-commits at lists.llvm.org
Tue Jan 18 11:35:19 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e00a1921fb15898fd1680308ae603919aea8811
      https://github.com/llvm/llvm-project/commit/4e00a1921fb15898fd1680308ae603919aea8811
  Author: Casey Carter <Casey at Carter.net>
  Date:   2022-01-18 (Tue, 18 Jan 2022)

  Changed paths:
    M libcxx/include/__support/win32/limits_msvc_win32.h
    M libcxx/test/std/algorithms/alg.modifying.operations/alg.generate/generate_n.pass.cpp
    M libcxx/test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp
    M libcxx/test/std/iterators/stream.iterators/ostream.iterator/ostream.iterator.ops/assign_t.pass.cpp
    M libcxx/test/std/library/description/conventions/expos.only.func/synth_three_way.pass.cpp
    M libcxx/test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/test_neg_one.pass.cpp
    M libcxx/test/std/numerics/rand/rand.eng/rand.eng.lcong/values.pass.cpp
    M libcxx/test/std/ranges/range.factories/range.iota.view/ctor.value.bound.pass.cpp
    M libcxx/test/std/ranges/range.factories/range.iota.view/end.pass.cpp
    M libcxx/test/std/ranges/range.factories/range.iota.view/iterator/star.pass.cpp
    M libcxx/test/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp
    M libcxx/test/std/utilities/meta/meta.const.eval/is_constant_evaluated.pass.cpp
    M libcxx/test/std/utilities/template.bitset/bitset.cons/char_ptr_ctor.pass.cpp
    M libcxx/test/std/utilities/template.bitset/bitset.cons/ull_ctor.pass.cpp
    M libcxx/test/std/utilities/template.bitset/bitset.members/reset_one.pass.cpp
    M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.rel/three_way.pass.cpp
    M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/copy.pass.cpp
    M libcxx/test/std/utilities/variant/variant.variant/variant.ctor/move.pass.cpp
    M libcxx/test/support/archetypes.h
    M libcxx/test/support/charconv_test_helpers.h
    M libcxx/test/support/count_new.h
    M libcxx/test/support/test.workarounds/c1xx_broken_is_trivially_copyable.pass.cpp
    M libcxx/test/support/test.workarounds/c1xx_broken_za_ctor_check.pass.cpp
    M libcxx/test/support/test_macros.h
    M libcxx/test/support/test_workarounds.h

  Log Message:
  -----------
  [libcxx][test] compiler options are non-portable

... 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>`

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




More information about the All-commits mailing list