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

Mark de Wever via All-commits all-commits at lists.llvm.org
Tue Feb 7 06:57:19 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac44dadcbea52e14aab20c0d590d4ec00d615a93
      https://github.com/llvm/llvm-project/commit/ac44dadcbea52e14aab20c0d590d4ec00d615a93
  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




More information about the All-commits mailing list