From 8cbf289c912d34151948e957b80674b2c39f5d5a Mon Sep 17 00:00:00 2001 From: Boaz Brickner Date: Fri, 19 Sep 2025 11:14:41 +0200 Subject: [PATCH] Remove unnecessary `llvm::formatv()` call in `TODO()`. (#6099) --- toolchain/check/cpp/import.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/toolchain/check/cpp/import.cpp b/toolchain/check/cpp/import.cpp index 0de21db25606..92072d7e52c9 100644 --- a/toolchain/check/cpp/import.cpp +++ b/toolchain/check/cpp/import.cpp @@ -2088,9 +2088,7 @@ static auto GetOverloadSetAccess(Context& context, SemIR::LocId loc_id, clang::AccessSpecifier access = overload_set.begin().getAccess(); for (auto it = overload_set.begin() + 1; it != overload_set.end(); ++it) { if (it.getAccess() != access) { - context.TODO( - loc_id, - llvm::formatv("Unsupported: Overloaded set with mixed access").str()); + context.TODO(loc_id, "Unsupported: Overloaded set with mixed access"); return std::nullopt; } }