-
Notifications
You must be signed in to change notification settings - Fork 691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor buildComponent and replComponent #9475
Conversation
08db0f1
to
488f7c2
Compare
01991b1
to
9db2722
Compare
9db2722
to
566d43d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like an improvement thanks! TBH I still find this code a bit hard to read :-/
I particularly do not like those invalid cases arising with CTest
/CBench
.
While I am ok with this going in as it is (as said, it is an improvement!) I am quite unhappy with the general pattern we seem to have through the codebase of pushing case-splits "down" the data flow. IMHO they should be pushed up instead. |
This is a pure refactor that reduces code duplication, with the exception that it also fixes a bug in that `preprocessExtras` was not being called for foreign libraries in both functions.
566d43d
to
07560a0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
Nobody commented in 2 weeks, so let me set the label for @sheaf not to delay the merge even more. |
This is a pure refactor that reduces code duplication, with the exception that it also fixes a bug in that `preprocessExtras` was not being called for foreign libraries in both functions. Co-authored-by: Rodrigo Mesquita <[email protected]> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This is a pure refactor that reduces code duplication, with the exception that it also fixes a bug in that
preprocessExtras
was not being called for foreign libraries in both functions.