diff options
author | Mike Crowe <mac@mcrowe.com> | 2025-07-24 20:40:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-24 22:40:41 +0300 |
commit | 60bf97983df3efeb17f6db19b811b68fa74df9aa (patch) | |
tree | 54caa759759880141701c0b487ee07b1878d0878 /llvm/unittests/ADT/DeltaAlgorithmTest.cpp | |
parent | c12dfd51952a18afcd094713e9541816b82a5037 (diff) | |
download | llvm-60bf97983df3efeb17f6db19b811b68fa74df9aa.zip llvm-60bf97983df3efeb17f6db19b811b68fa74df9aa.tar.gz llvm-60bf97983df3efeb17f6db19b811b68fa74df9aa.tar.bz2 |
[clang-tidy] modernize-use-std-print,format: Fix checks with Abseil functions (#142312)
These checks previously failed with absl::StrFormat and absl::PrintF
etc. with:
Unable to use 'std::format' instead of 'StrFormat' because first
argument is not a narrow string literal [modernize-use-std-format]
because FormatStringConverter was rejecting the format string if it had
already converted into a different type. Fix the tests so that they
check this case properly by accepting string_view rather than const char
* and fix the check so that these tests pass. Update the existing tests
that checked for the error message that can no longer happen.
Fixes: https://github.com/llvm/llvm-project/issues/129484
Diffstat (limited to 'llvm/unittests/ADT/DeltaAlgorithmTest.cpp')
0 files changed, 0 insertions, 0 deletions