[llvm-commits] <PATCH> Add DenseMap::insert(value_type&&) method.

Chris Lattner clattner at apple.com
Mon Jan 14 10:52:03 PST 2013


On Jan 14, 2013, at 9:26 AM, Joe Groff <arcata at gmail.com> wrote:

> Hi everyone. I noticed that although DenseMap has an internal InsertIntoBucket(KeyT&&, ValueT&&) method for move-initializing buckets, it had no public-facing insert(value_type&&) method. Here's a patch that adds that in if LLVM_HAS_RVALUE_REFERENCES is set. Let me know if it looks OK. Thanks!

Looks obvious to me, please do.  Thanks,

-Chris




More information about the llvm-commits mailing list