[all-commits] [llvm/llvm-project] f68a53: [libc++][format] Addresses LWG3839.

Mark de Wever via All-commits all-commits at lists.llvm.org
Tue Mar 7 10:20:34 PST 2023


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

  Changed paths:
    M libcxx/docs/Status/Cxx2bIssues.csv
    M libcxx/include/__format/formatter_tuple.h
    M libcxx/include/__format/range_default_formatter.h
    M libcxx/include/__format/range_formatter.h
    A libcxx/test/std/utilities/format/format.range/format.range.fmtdef/format.pass.cpp
    A libcxx/test/std/utilities/format/format.range/format.range.fmtdef/parse.pass.cpp
    A libcxx/test/std/utilities/format/format.range/format.range.fmtdef/set_brackets.pass.cpp
    A libcxx/test/std/utilities/format/format.range/format.range.fmtdef/set_separator.pass.cpp
    M libcxx/test/std/utilities/format/format.range/format.range.formatter/set_brackets.pass.cpp
    M libcxx/test/std/utilities/format/format.range/format.range.formatter/set_separator.pass.cpp
    M libcxx/test/std/utilities/format/format.range/format.range.formatter/underlying.pass.cpp
    M libcxx/test/std/utilities/format/format.tuple/set_brackets.pass.cpp
    M libcxx/test/std/utilities/format/format.tuple/set_separator.pass.cpp

  Log Message:
  -----------
  [libc++][format] Addresses LWG3839.

  LWG3839 range_formatter's set_separator, set_brackets, and
  underlying functions should be noexcept

Adds tests for:

  template<ranges::input_range R, class charT>
     struct range-default-formatter<range_format::sequence, R, charT>

These were missing, the format functions tests for the sequences
are already present.

Reviewed By: #libc, ldionne

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




More information about the All-commits mailing list