Skip to content

Commit 8cbf289

Browse files
authored
Remove unnecessary llvm::formatv() call in TODO(). (#6099)
1 parent 9704dc6 commit 8cbf289

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

toolchain/check/cpp/import.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2088,9 +2088,7 @@ static auto GetOverloadSetAccess(Context& context, SemIR::LocId loc_id,
20882088
clang::AccessSpecifier access = overload_set.begin().getAccess();
20892089
for (auto it = overload_set.begin() + 1; it != overload_set.end(); ++it) {
20902090
if (it.getAccess() != access) {
2091-
context.TODO(
2092-
loc_id,
2093-
llvm::formatv("Unsupported: Overloaded set with mixed access").str());
2091+
context.TODO(loc_id, "Unsupported: Overloaded set with mixed access");
20942092
return std::nullopt;
20952093
}
20962094
}

0 commit comments

Comments
 (0)