mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-04 06:21:04 +01:00
Use lines instead of statements for readability-function-size clang-tidy (#6594)
This commit is contained in:
@@ -113,7 +113,6 @@ static auto LowerInstHelper(FunctionContext& context, SemIR::InstId inst_id,
|
||||
// TODO: Consider renaming Handle##Name, instead relying on typed_inst overload
|
||||
// resolution. That would allow putting the nonexistent handler implementations
|
||||
// in `requires`-style overloads.
|
||||
// NOLINTNEXTLINE(readability-function-size): The define confuses lint.
|
||||
auto FunctionContext::LowerInst(SemIR::InstId inst_id) -> void {
|
||||
// Skip over constants. `FileContext::GetConstant` lowers them as needed.
|
||||
if (sem_ir().constant_values().Get(inst_id).is_constant()) {
|
||||
|
||||
Reference in New Issue
Block a user