From 48a03e6a1cb2d24099acb5f6ff142cd8b2706716 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Fri, 24 Jul 2026 15:11:21 -0400 Subject: [PATCH] Remove TODO to check for orphan impls (#7562) Orphan impls are found at the end of checking the file, in `ValidateImplsInFile()`. --- toolchain/check/handle_impl.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/toolchain/check/handle_impl.cpp b/toolchain/check/handle_impl.cpp index 865da1ba3c58..78ee0b92034e 100644 --- a/toolchain/check/handle_impl.cpp +++ b/toolchain/check/handle_impl.cpp @@ -223,8 +223,6 @@ static auto BuildImplDecl(Context& context, Parse::AnyImplDeclId node_id, auto name_context = context.decl_name_stack().FinishImplName(); CARBON_CHECK(name_context.state == DeclNameStack::NameContext::State::Empty); - // TODO: Check for an orphan `impl`. - // Add the impl declaration. auto impl_decl_id = AddPlaceholderInst(context, node_id,