[all-commits] [llvm/llvm-project] d5d6b4: [Support] Add automatic index assignment in format...
Rahul Joshi via All-commits
all-commits at lists.llvm.org
Thu Sep 12 04:38:57 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d5d6b447840f80a78047cf5ba769e4a09b44b83e
https://github.com/llvm/llvm-project/commit/d5d6b447840f80a78047cf5ba769e4a09b44b83e
Author: Rahul Joshi <rjoshi at nvidia.com>
Date: 2024-09-12 (Thu, 12 Sep 2024)
Changed paths:
M llvm/include/llvm/Support/FormatVariadic.h
M llvm/lib/Support/FormatVariadic.cpp
M llvm/unittests/Support/FormatVariadicTest.cpp
Log Message:
-----------
[Support] Add automatic index assignment in formatv (#107459)
Make index in replacement field optional. It will be automatically
assigned in incremental order by formatv.
Make mixed use of automatic and explicit indices an error that will fail
validation.
Adopt uses of formatv() within FormatVariadic to use automatic index.
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