-
Notifications
You must be signed in to change notification settings - Fork 757
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
sclang: remove dead code #4934
sclang: remove dead code #4934
Conversation
Out of curiosity, is there a reason this it aimed at |
mainly because it's harmless, and also because i find it easier when 3.11 and develop diverge less. |
This looks fine to me, i.e. SC still compiles and works :) I'm wondering whether putting this into develop would make it less likely to have marge conflicts later, when we merge 3.11 into develop. Or maybe it's just safest to wait with this PR until 3.11.1 is released and we merge 3.11 into develop (and this PR goes into develop) Then we'll know we are not tempting any conflicts... |
there will be fewer conflicts in the future if this change is in both branches. as for existing conflicts merging this into 3.11 and then into develop, you can test that yourself locally. there is one conflict in array primitives because of the levenstein distance primitive. it's easy to manage, and i'm happy to do it as soon as this is merged. also, i'm not sure but it sounds like there is an assumption in your comment that we only merge 3.11 to develop after or during a release. that's not the case; those merges can happen at any time. |
btw, the way i tested locally:
|
thanks!
Good point. I know we can merge anytime, but sometimes we don't for a while :) @brianlheim after your last comment I agree that getting this in both branches soon would be best. |
thanks! |
Purpose and Motivation
remove a lot of unnecessary function declarations in primitives, perhaps due to requirements of early C++ compilers
also add blank lines to make file header comments stand out a bit
also remove dead code turned on with SC_PLUGINS macro (unused).
Types of changes
To-do list