[libcxx-commits] [PATCH] D116947: [libc++] Introduce __debug_db_insert_c()
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jan 10 08:06:24 PST 2022
philnik created this revision.
philnik added reviewers: Quuxplusone, ldionne, Mordante.
philnik requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
There are a lot of
#if _LIBCPP_DEBUG_LEVEL == 2
__get_db()->__insert_c(this);
#endif
This patch introduces `__debug_db_insert_c()` to put the `#if` in one central place.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D116947
Files:
libcxx/include/__debug
libcxx/include/list
libcxx/include/string
libcxx/include/unordered_map
libcxx/include/unordered_set
libcxx/include/vector
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116947.398648.patch
Type: text/x-patch
Size: 35120 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220110/fca3b9fa/attachment-0001.bin>
More information about the libcxx-commits
mailing list