[libcxx-commits] [PATCH] D94544: [libc++] NFCI: Refactor allocator_traits
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jan 12 12:33:13 PST 2021
ldionne created this revision.
Herald added a subscriber: jkorous.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
The implementation had a lot of boilerplate and was more complicated than
necessary. This NFC refactoring introduces a few macros to reduce code
duplication, and uses a consistent style and formatting for the whole file.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D94544
Files:
libcxx/include/__memory/allocator_traits.h
libcxx/include/memory
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94544.316199.patch
Type: text/x-patch
Size: 34374 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210112/be8286ce/attachment-0001.bin>
More information about the libcxx-commits
mailing list