Skip to content

Conversation

@boomanaiden154
Copy link
Contributor

I have a habit of using early exits given it is in the LLVM coding
standards, but most of the early exits used within this script were
trivial and actually adding complexity. These are all instances where we
only perform one operation after the early exit, so removing the early
exit means less lines of code and arguably more readable code.

boomanaiden154 and others added 2 commits June 9, 2025 22:40
Created using spr 1.3.6
boomanaiden154 and others added 4 commits June 10, 2025 00:36
Created using spr 1.3.6

[skip ci]
Created using spr 1.3.6
Created using spr 1.3.6

[skip ci]
Created using spr 1.3.6
Copy link
Collaborator

@DavidSpickett DavidSpickett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

el-ev and others added 2 commits June 22, 2025 08:03
Created using spr 1.3.6

[skip ci]
Created using spr 1.3.6
@boomanaiden154 boomanaiden154 changed the base branch from users/boomanaiden154/main.ci-refactor-out-some-early-exits-in-compute_projects to main June 22, 2025 15:07
@boomanaiden154 boomanaiden154 merged commit ee414e3 into main Jun 22, 2025
9 of 16 checks passed
@boomanaiden154 boomanaiden154 deleted the users/boomanaiden154/ci-refactor-out-some-early-exits-in-compute_projects branch June 22, 2025 15:08
llvm-sync bot pushed a commit to arm/arm-toolchain that referenced this pull request Jun 22, 2025
I have a habit of using early exits given it is in the LLVM coding
standards, but most of the early exits used within this script were
trivial and actually adding complexity. These are all instances where we
only perform one operation after the early exit, so removing the early
exit means less lines of code and arguably more readable code.

Reviewers: DavidSpickett, tstellar, cmtice, lnihlen

Reviewed By: DavidSpickett

Pull Request: llvm/llvm-project#143478
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants