summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Writer/BitcodeWriterPass.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-03-10 00:35:47 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-03-10 00:35:47 +0000
commit153ed406147a56a9d1220248e6bff0d7fea18dd3 (patch)
treea811db933ee9cdd2a41de73546bd0a544befe175 /lib/Bitcode/Writer/BitcodeWriterPass.cpp
parent08da01c74136c221ec0cfcb00db8552ce926f54c (diff)
downloadllvm-153ed406147a56a9d1220248e6bff0d7fea18dd3.tar.gz
llvm-153ed406147a56a9d1220248e6bff0d7fea18dd3.tar.bz2
llvm-153ed406147a56a9d1220248e6bff0d7fea18dd3.tar.xz
[PM] I have been educated by several folks that MSVC will never
synthesize a move constructor. Thus, for any types where move semantics are important (yea, that's essentially every type...) you must explicitly define the special members. Do so systematically throughout the pass manager as the core of the design relies heavily on move semantics. This will hopefully fix the build with MSVC 2013. We still don't know why MSVC 2012 accepted this code, but it almost certainly wasn't doing the right thing. I've also added explicit to a few single-argument constructors spotted in passing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203426 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/BitcodeWriterPass.cpp')
0 files changed, 0 insertions, 0 deletions