mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 21:20:11 +01:00
Fix redundant void return (#4757)
Caught by more recent tidy versions: https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-control-flow.html
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user