[all-commits] [llvm/llvm-project] f796a0: [formatv] Leave format parameters unstripped (#112...

David Blaikie via All-commits all-commits at lists.llvm.org
Wed Oct 16 15:54:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f796a0c7c9299ec16d459de70a92d8a675f47a42
      https://github.com/llvm/llvm-project/commit/f796a0c7c9299ec16d459de70a92d8a675f47a42
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2024-10-16 (Wed, 16 Oct 2024)

  Changed paths:
    M llvm/lib/Support/FormatVariadic.cpp
    M llvm/unittests/Support/FormatVariadicTest.cpp

  Log Message:
  -----------
  [formatv] Leave format parameters unstripped (#112625)

This is consistent with std::formatv and allows formatters to support a
wider variety of use cases (like having a bare string in their formatter
if that's useful, etc).

Came up in the context of some Carbon diagnostic work here:
https://github.com/carbon-language/carbon-lang/pull/4411#discussion_r1803688859



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list