ソースを参照

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