Преглед на файлове

Fix redundant void return (#4757)

Caught by more recent tidy versions:
https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-control-flow.html
Jon Ross-Perkins преди 1 година
родител
ревизия
bc637bdd7a
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  1. 0 1
      toolchain/check/impl.cpp

+ 0 - 1
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