-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[NFC][ConstraintSystem] Move some inlined header methods to implementation file #32107
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
[NFC][ConstraintSystem] Move some inlined header methods to implementation file #32107
Conversation
…ppers get information
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.
I like this, I left a couple of minor comments inline.
@DougGregor as you were one of the last people to modify those methods, pinging for a review :) |
@xedin We haven't heard from @DougGregor yet, but since this is a quite simple NFC change I wonder if we could move on? No problem waiting, I'm just doing some checking in some open PR's :) |
I think this is good to go. Do you want me to merge it? (I thought that you going to merge it once you get committer access). |
Ahh, yes I have the commit access so I can merge it, but still waiting for the access to trigger the CI... so can you kick it then? :) |
@swift-ci please smoke test |
Thanks :) |
@swift-ci please smoke test Windows platform |
If it fails with unrelated problem again - don’t worry and merge. |
Oh right, thanks :) |
The initial intention was just to audit and see if some methods could be moved to implementation instead of inline in the header. As commented in another PR normally is recommended to inline only small methods.
There is not a precise definition of what is a small method, but I thought in propose moving those in this PR.
While moving I note, that these specific methods have almost exactly the same implementation, so I try to abstract the common logic which seems like an improvement, but TBH not sure if it is worthed nor got much better ... but sending anyway to see what you think cc @xedin @DougGregor