summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Writer
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-03-10 01:32:25 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-03-10 01:32:25 +0000
commit209ae573e03bfd50b158d52d456539e8e876f047 (patch)
tree559ff79f5fbf20f688d12a491dce391995ca678f /lib/Bitcode/Writer
parent4cd770ff3f8299ab521e1cad15683b43e0f616d9 (diff)
downloadllvm-209ae573e03bfd50b158d52d456539e8e876f047.tar.gz
llvm-209ae573e03bfd50b158d52d456539e8e876f047.tar.bz2
llvm-209ae573e03bfd50b158d52d456539e8e876f047.tar.xz
[PM] As Dave noticed in review, I had erroneously copied the move
constructors from the classes which only have a single reference member to many other places. This resulted in them copying their single member instead of moving. =/ Fix this. There's really not a useful test to add sadly because these move constructors are only called when something deep inside some standard library implementation *needs* to move them. Many of the types aren't even user-impacting types. Or, the objects are copyable anyways and so the result was merely a performance problem rather than a correctness problem. Anyways, thanks for the review. And this is a great example of why I wish I colud have the compiler write these for me. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203431 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer')
0 files changed, 0 insertions, 0 deletions