[all-commits] [llvm/llvm-project] 7ec244: unittest: Work around build failure on MSVC builders

Vedant Kumar via All-commits all-commits at lists.llvm.org
Fri Mar 20 12:38:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ec24448801c30bb0b2127f2c7b7ac10c1a009fc
      https://github.com/llvm/llvm-project/commit/7ec24448801c30bb0b2127f2c7b7ac10c1a009fc
  Author: Vedant Kumar <vsk at apple.com>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M llvm/unittests/ADT/CoalescingBitVectorTest.cpp

  Log Message:
  -----------
  unittest: Work around build failure on MSVC builders

MSVC insists on using the deleted move constructor instead of the copy
constructor:

http://lab.llvm.org:8011/builders/lld-x86_64-win7/builds/41203

C:\ps4-buildslave2\lld-x86_64-win7\llvm-project\llvm\unittests\ADT\CoalescingBitVectorTest.cpp(193):
error C2280: 'llvm::CoalescingBitVector<unsigned
int,16>::CoalescingBitVector(llvm::CoalescingBitVector<unsigned int,16>
&&)': attempting to reference a deleted function




More information about the All-commits mailing list