commit | 1ac1daa4d8449659624588bc6d0670f2053e9f29 | [log] [tgz] |
---|---|---|
author | Louis Dionne <ldionne.2@gmail.com> | Tue Jan 12 11:53:24 2021 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Jan 19 15:52:24 2021 -0800 |
tree | f8b6ae871ae8393fa06fb8698d7d4a0ec6ff2143 | |
parent | 3a983ae7fd37fcb457f0a11b026a257956978702 [diff] |
[libc++] NFCI: Refactor allocator_traits 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. Differential Revision: https://reviews.llvm.org/D94544 GitOrigin-RevId: 2cb4a96a99e8acbf57a31d4d06ed5e21799d878e