浏览代码

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