From bc637bdd7ac6edbd5d1f530518f516ed32c30d80 Mon Sep 17 00:00:00 2001 From: Jon Ross-Perkins Date: Mon, 6 Jan 2025 11:32:15 -0800 Subject: [PATCH] Fix redundant void return (#4757) Caught by more recent tidy versions: https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-control-flow.html --- toolchain/check/impl.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/toolchain/check/impl.cpp b/toolchain/check/impl.cpp index e4692ff7fda2..a35ad5f33de0 100644 --- a/toolchain/check/impl.cpp +++ b/toolchain/check/impl.cpp @@ -232,7 +232,6 @@ auto ImplWitnessStartDefinition(Context& /*context*/, SemIR::Impl& impl) CARBON_CHECK(impl.is_being_defined()); // TODO: Check we have a value for all non-function associated constants in // the constraint, and fill the witness with them. - return; } // Adds functions to the witness that the specified impl implements the given