llvm/lib/Bitcode
Duncan P. N. Exon Smith 52fe45ec5e BitcodeReader: Use std:::piecewise_construct when upgrading type refs
r267296 used std::piecewise_construct without using
std::forward_as_tuple, and r267298 hacked it out (using an emplace_back
followed by a couple of reset() calls) because of a problem on a bot.
I'm finally circling back to call forward_as_tuple as I should have to
begin with (thanks to David Blaikie for pointing out the missing piece).

Note that this code uses emplace_back() instead of
push_back(make_pair()) because the move constructor for TrackingMDRef is
expensive (cheaper than a copy, but still expensive).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272306 91177308-0d34-0410-b5e6-96231b3b80d8
2016-06-09 20:46:33 +00:00
..
Reader BitcodeReader: Use std:::piecewise_construct when upgrading type refs 2016-06-09 20:46:33 +00:00
Writer [DebugInfo] Add calling convention support for DWARF and CodeView 2016-06-08 20:34:29 +00:00
CMakeLists.txt
LLVMBuild.txt