[all-commits] [llvm/llvm-project] 22000e: [libc++][format] Fixes constexpr validation.

Mark de Wever via All-commits all-commits at lists.llvm.org
Tue Feb 7 18:47:17 PST 2023


  Branch: refs/heads/release/16.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 22000e3c8d1aa4e1d9530624ecc25f3096434af3
      https://github.com/llvm/llvm-project/commit/22000e3c8d1aa4e1d9530624ecc25f3096434af3
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2023-02-07 (Tue, 07 Feb 2023)

  Changed paths:
    M libcxx/include/__format/format_functions.h
    M libcxx/test/std/utilities/format/format.functions/format_tests.h

  Log Message:
  -----------
  [libc++][format] Fixes constexpr validation.

The constexpr validation parsed parts of the format string that didn't
belong to the specific replacement field.

Fixes https://llvm.org/PR60536

Reviewed By: #libc, ldionne

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

(cherry picked from commit ac44dadcbea52e14aab20c0d590d4ec00d615a93)




More information about the All-commits mailing list