Add an explicit move constructor to SrcBuffer
authorReid Kleckner <reid@kleckner.net>
Thu, 21 Aug 2014 23:24:08 +0000 (23:24 +0000)
committerReid Kleckner <reid@kleckner.net>
Thu, 21 Aug 2014 23:24:08 +0000 (23:24 +0000)
commita79efd7469b229f352387bd6c597cabc9c6f83fd
treec6b1d16149b46ddc85db6e747738cff1a4e143a9
parent5e34dffb9c90316758a4c31d2fa4ccf9a243ccb5
Add an explicit move constructor to SrcBuffer

MSVC can't synthesize the explicit one.  Instead it tries to emit a copy
ctor which would call the deleted copy ctor of unique_ptr.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216244 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/SourceMgr.h