[all-commits] [llvm/llvm-project] eb7033: [NFC][libc++][format] Generalizes bracket parsing.

Mark de Wever via All-commits all-commits at lists.llvm.org
Tue Jul 18 11:33:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb703341146b0ba46a47cc4a3878f4f0e0649d71
      https://github.com/llvm/llvm-project/commit/eb703341146b0ba46a47cc4a3878f4f0e0649d71
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-07-18 (Tue, 18 Jul 2023)

  Changed paths:
    M libcxx/include/__format/formatter_tuple.h
    M libcxx/include/__format/parser_std_format_spec.h
    M libcxx/include/__format/range_formatter.h

  Log Message:
  -----------
  [NFC][libc++][format] Generalizes bracket parsing.

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.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D155264




More information about the All-commits mailing list