This is an archive of the discontinued LLVM Phabricator instance.

[libc++] Introduce __debug_db_insert_i()
ClosedPublic

Authored by philnik on Jan 15 2022, 4:25 PM.

Details

Summary

Introduce __debug_db_insert_i()

Diff Detail

Event Timeline

philnik requested review of this revision.Jan 15 2022, 4:25 PM
philnik created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJan 15 2022, 4:25 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
ldionne accepted this revision.Jan 17 2022, 8:51 AM

LGTM with qualification.

libcxx/include/__hash_table
648

Can you please qualify?

This revision is now accepted and ready to land.Jan 17 2022, 8:51 AM
philnik added inline comments.Jan 17 2022, 8:59 AM
libcxx/include/__hash_table
648

Sorry, I don't understand what you want. Qualify what?

libcxx/include/__hash_table
648

ADL-proof via _VSTD::__debug_db_insert_i(this). Otherwise this is triggering ADL.

philnik updated this revision to Diff 400604.Jan 17 2022, 10:27 AM
philnik marked 2 inline comments as done.
  • Add _VSTD::
ldionne accepted this revision.Jan 17 2022, 10:41 AM
ldionne added inline comments.
libcxx/include/__hash_table
648

@philnik Sorry, I thought my request was clear since I remembered asking the same on a similar review of yours, but I might be mis-remembering.

This revision was automatically updated to reflect the committed changes.