Revert "[PBQP] Unique-ptrify some PBQP Metadata structures. No functional change...
authorHans Wennborg <hans@hanshq.net>
Sun, 26 Oct 2014 19:50:13 +0000 (19:50 +0000)
committerHans Wennborg <hans@hanshq.net>
Sun, 26 Oct 2014 19:50:13 +0000 (19:50 +0000)
commit0846d688d142d204df228b5b3bdeea908355eda3
tree87ef34500458040c3143f8efbc7a4352f7828c52
parent82256c40195f3c3b3fbf5f865b4b95ae578e1aa5
Revert "[PBQP] Unique-ptrify some PBQP Metadata structures. No functional change." (r220642)

It broke the Windows build:

  [1/19] Building CXX object lib\CodeGen\CMakeFiles\LLVMCodeGen.dir\RegAllocPBQP.cpp.obj
  C:\bb-win7\ninja-clang-i686-msc17-R\llvm-project\llvm\include\llvm/CodeGen/RegAllocPBQP.h(132) : error C2248: 'std::unique_ptr<_Ty>::unique_ptr' : cannot access private member declared in class 'std::unique_ptr<_Ty>'

     with
     [
         _Ty=unsigned int []
     ]
     D:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\memory(1600) : see declaration of 'std::unique_ptr<_Ty>::unique_ptr'
     with
     [
         _Ty=unsigned int []
     ]
     This diagnostic occurred in the compiler generated function 'llvm::PBQP::RegAlloc::NodeMetadata::NodeMetadata(const llvm::PBQP::RegAlloc::NodeMetadata &)'

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220645 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/RegAllocPBQP.h