Skip to content

Commit

Permalink
Fix a clang-tidy issue (carbon-language#4723)
Browse files Browse the repository at this point in the history
  • Loading branch information
chandlerc authored Dec 20, 2024
1 parent c130fe8 commit aca862c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolchain/check/context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ auto Context::InsertHere(SemIR::ExprRegionId region_id) -> SemIR::InstId {
if (region.block_ids.size() == 1) {
// TODO: Is it possible to avoid leaving an "orphan" block in the IR in the
// first two cases?
if (exit_block.size() == 0) {
if (exit_block.empty()) {
return region.result_id;
}
if (exit_block.size() == 1) {
Expand Down

0 comments on commit aca862c

Please sign in to comment.