[libcxx-commits] [PATCH] D155264: [NFC][libc++][format] Generalizes bracket parsing.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jul 15 02:43:43 PDT 2023


Mordante created this revision.
Herald added a project: All.
Mordante published this revision for review.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Both the tuple formatter and range formatter parse a bracket. Instead of
implementing this twice do it in the generic parser. This is preparation
to improve the diagnostics in the format library.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155264

Files:
  libcxx/include/__format/formatter_tuple.h
  libcxx/include/__format/parser_std_format_spec.h
  libcxx/include/__format/range_formatter.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155264.540282.patch
Type: text/x-patch
Size: 7909 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230715/90064646/attachment-0001.bin>


More information about the libcxx-commits mailing list