[libcxx-commits] [PATCH] D112830: [libc++] Refactor num_put::do_put to reduce duplication
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Oct 29 09:34:36 PDT 2021
ldionne created this revision.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
I was going to make a change in that area of the code and I noticed that
we basically duplicated the same code 5 times to handle integral types
and floating point types. This commit simply pulls the duplication into
a function.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D112830
Files:
libcxx/include/locale
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112830.383397.patch
Type: text/x-patch
Size: 10349 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211029/7aa5d3e9/attachment-0001.bin>
More information about the libcxx-commits
mailing list