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

Joe Groff arcata at gmail.com
Mon Jan 14 11:24:55 PST 2013


Thanks Chris! Committed r172453.

-Joe


On Mon, Jan 14, 2013 at 10:52 AM, Chris Lattner <clattner at apple.com> wrote:

>
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130114/6d190c8a/attachment.html>


More information about the llvm-commits mailing list