mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 07:34:45 +01:00
Remove unnecessary llvm::formatv() call in TODO(). (#6099)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user