[all-commits] [llvm/llvm-project] f8b652: [libc++] Translate MODULES_DEFINES annotations to ...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Apr 7 11:40:59 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f8b6529218f22ea112aabebe13d58cfef6a9c09a
      https://github.com/llvm/llvm-project/commit/f8b6529218f22ea112aabebe13d58cfef6a9c09a
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-04-07 (Tue, 07 Apr 2020)

  Changed paths:
    M libcxx/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.cxx1z.pass.cpp
    M libcxx/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/random_shuffle.depr_in_cxx14.fail.cpp
    M libcxx/test/libcxx/atomics/libcpp-has-no-threads.fail.cpp
    M libcxx/test/libcxx/containers/sequences/array/array.zero/db_back.pass.cpp
    M libcxx/test/libcxx/containers/sequences/array/array.zero/db_front.pass.cpp
    M libcxx/test/libcxx/containers/sequences/array/array.zero/db_indexing.pass.cpp
    M libcxx/test/libcxx/containers/sequences/deque/incomplete.pass.cpp
    M libcxx/test/libcxx/debug/containers/db_associative_container_tests.pass.cpp
    M libcxx/test/libcxx/debug/containers/db_sequence_container_iterators.multithread.pass.cpp
    M libcxx/test/libcxx/debug/containers/db_sequence_container_iterators.pass.cpp
    M libcxx/test/libcxx/debug/containers/db_string.pass.cpp
    M libcxx/test/libcxx/debug/containers/db_unord_container_tests.pass.cpp
    M libcxx/test/libcxx/debug/db_string_view.pass.cpp
    M libcxx/test/libcxx/debug/debug_abort.pass.cpp
    M libcxx/test/libcxx/debug/debug_helper_test.pass.cpp
    M libcxx/test/libcxx/debug/debug_register.pass.cpp
    M libcxx/test/libcxx/depr/depr.auto.ptr/auto.ptr/auto_ptr.cxx1z.pass.cpp
    M libcxx/test/libcxx/depr/depr.auto.ptr/auto.ptr/auto_ptr.depr_in_cxx11.fail.cpp
    M libcxx/test/libcxx/depr/depr.default.allocator/allocator.members/address.cxx2a.pass.cpp
    M libcxx/test/libcxx/depr/depr.default.allocator/allocator.members/address.depr_in_cxx17.fail.cpp
    M libcxx/test/libcxx/depr/depr.default.allocator/allocator.members/allocate.cxx2a.fail.cpp
    M libcxx/test/libcxx/depr/depr.default.allocator/allocator.members/allocate.cxx2a.pass.cpp
    M libcxx/test/libcxx/depr/depr.default.allocator/allocator.members/allocate.depr_in_cxx17.fail.cpp
    M libcxx/test/libcxx/depr/depr.default.allocator/allocator.members/construct.cxx2a.pass.cpp
    M libcxx/test/libcxx/depr/depr.default.allocator/allocator.members/max_size.cxx2a.pass.cpp
    M libcxx/test/libcxx/depr/depr.default.allocator/allocator_types.cxx2a.pass.cpp
    M libcxx/test/libcxx/depr/depr.default.allocator/allocator_types.depr_in_cxx17.fail.cpp
    M libcxx/test/libcxx/depr/depr.default.allocator/allocator_void.cxx2a.pass.cpp
    M libcxx/test/libcxx/depr/depr.default.allocator/allocator_void.depr_in_cxx17.fail.cpp
    M libcxx/test/libcxx/depr/depr.function.objects/adaptors.depr_in_cxx11.fail.cpp
    M libcxx/test/libcxx/depr/depr.function.objects/depr.adaptors.cxx1z.pass.cpp
    M libcxx/test/libcxx/depr/enable_removed_cpp17_features.pass.cpp
    M libcxx/test/libcxx/depr/exception.unexpected/get_unexpected.pass.cpp
    M libcxx/test/libcxx/depr/exception.unexpected/set_unexpected.pass.cpp
    M libcxx/test/libcxx/depr/exception.unexpected/unexpected.pass.cpp
    M libcxx/test/libcxx/diagnostics/enable_nodiscard.fail.cpp
    M libcxx/test/libcxx/diagnostics/enable_nodiscard_disable_after_cxx17.fail.cpp
    M libcxx/test/libcxx/diagnostics/enable_nodiscard_disable_nodiscard_ext.fail.cpp
    M libcxx/test/libcxx/diagnostics/nodiscard_aftercxx17.pass.cpp
    M libcxx/test/libcxx/diagnostics/nodiscard_extensions.fail.cpp
    M libcxx/test/libcxx/include_as_c.sh.cpp
    M libcxx/test/libcxx/input.output/filesystems/class.path/path.itr/iterator_db.pass.cpp
    M libcxx/test/libcxx/iterators/advance.debug1.pass.cpp
    M libcxx/test/libcxx/iterators/next.debug1.pass.cpp
    M libcxx/test/libcxx/iterators/prev.debug1.pass.cpp
    M libcxx/test/libcxx/strings/iterators.noexcept.pass.cpp
    M libcxx/test/libcxx/thread/futures/futures.promise/set_exception.pass.cpp
    M libcxx/test/libcxx/thread/futures/futures.promise/set_exception_at_thread_exit.pass.cpp
    M libcxx/test/libcxx/thread/thread.lock/thread.lock.guard/nodiscard.fail.cpp
    M libcxx/test/libcxx/thread/thread.mutex/thread_safety_lock_guard.pass.cpp
    M libcxx/test/libcxx/thread/thread.mutex/thread_safety_lock_unlock.pass.cpp
    M libcxx/test/libcxx/thread/thread.mutex/thread_safety_missing_unlock.fail.cpp
    M libcxx/test/libcxx/thread/thread.mutex/thread_safety_requires_capability.pass.cpp
    M libcxx/test/libcxx/utilities/memory/util.dynamic.safety/get_pointer_safety_new_abi.pass.cpp
    M libcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/enable_reduced_arity_initialization_extension.pass.cpp
    M libcxx/test/std/containers/sequences/deque/types.pass.cpp
    M libcxx/test/std/containers/sequences/list/types.pass.cpp
    M libcxx/test/std/containers/sequences/vector/types.pass.cpp
    M libcxx/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.depr_in_cxx11.fail.cpp
    M libcxx/test/std/depr/depr.lib.binders/depr.lib.bind.2nd/bind2nd.depr_in_cxx11.fail.cpp
    M libcxx/test/std/depr/depr.lib.binders/depr.lib.binder.1st/binder1st.depr_in_cxx11.fail.cpp
    M libcxx/test/std/depr/depr.lib.binders/depr.lib.binder.2nd/binder2nd.depr_in_cxx11.fail.cpp
    M libcxx/test/std/utilities/function.objects/negators/binary_negate.pass.cpp
    M libcxx/test/std/utilities/function.objects/negators/not1.pass.cpp
    M libcxx/test/std/utilities/function.objects/negators/not2.pass.cpp
    M libcxx/test/std/utilities/function.objects/negators/unary_negate.pass.cpp
    M libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_constructible.pass.cpp
    M libcxx/utils/libcxx/test/config.py
    M libcxx/utils/libcxx/test/format.py
    M libcxx/utils/libcxx/test/newformat.py

  Log Message:
  -----------
  [libc++] Translate MODULES_DEFINES annotations to ADDITIONAL_COMPILE_FLAGS

This allows both the old and the new testing formats to handle these
tests with modules enabled.

We also include the modules flags in the %{flags} substitution, which
means that .sh.cpp tests in the old format and all tests in the new
format will use modules flags when enabled.




More information about the All-commits mailing list