This is an archive of the discontinued LLVM Phabricator instance.

unordered_map: Match emplace_hint logic when _LIBCPP_DEBUG, NFC
AbandonedPublic

Authored by dexonsmith on Feb 1 2016, 5:41 PM.

Details

Reviewers
None
Summary

When !defined(_LIBCPP_DEBUG), unordered_map::emplace_hint() forwards
to emplace(). Do the same when defined(_LIBCPP_DEBUG).

This has no real functionality change, just unifies the logic as a
prep commit.

Diff Detail

Event Timeline

dexonsmith updated this revision to Diff 46601.Feb 1 2016, 5:41 PM
dexonsmith retitled this revision from to unordered_map: Match emplace_hint logic when _LIBCPP_DEBUG, NFC.
dexonsmith updated this object.
dexonsmith added a reviewer: EricWF.
dexonsmith added a subscriber: cfe-commits.
EricWF resigned from this revision.Apr 15 2016, 6:43 PM
EricWF removed a reviewer: EricWF.

This no longer seems relevant.

dexonsmith abandoned this revision.Oct 6 2020, 2:58 PM