[all-commits] [llvm/llvm-project] be9f55: [libcxx] Fix copy_move.pass test

Zero Omega via All-commits all-commits at lists.llvm.org
Wed Jul 19 15:52:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be9f55f4fff47badcdca17be5bcc0a4a15894739
      https://github.com/llvm/llvm-project/commit/be9f55f4fff47badcdca17be5bcc0a4a15894739
  Author: Haowei Wu <haowei at google.com>
  Date:   2023-07-19 (Wed, 19 Jul 2023)

  Changed paths:
    M libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp

  Log Message:
  -----------
  [libcxx] Fix copy_move.pass test

When LLVM is built under MSVC and libcxx ABI is set to 2, the
'copy_move.pass' test will unexpectedly pass. This patch mitigate this
issue by setting this test will only expecting FAIL when libcxx ABI
version is set to 1.

Differential Revision: https://reviews.llvm.org/D155760
Fixes: https://github.com/llvm/llvm-project/issues/63442




More information about the All-commits mailing list