-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[cling] Remove support for declarations without 'auto' keyword #16410
base: master
Are you sure you want to change the base?
Conversation
Test Results 13 files 13 suites 3d 1h 26m 43s ⏱️ For more details on these failures, see this check. Results for commit 7a46308. ♻️ This comment has been updated with latest results. |
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.
lgtm: thanks.
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 am not sure we can do this right now: This is a big departure from CINT times and there are probably still tons of macros out there that rely on it. Initially we discussed only removing this for ROOT 7, did this decision change?
If we remove this, I think we can also get rid of a patch in Clang: root-project/llvm-project@fecc97d
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 take this with a grain of salt as I remember how much efforts I spent to turn the compiler infrastructure upside down to support this feature...
This is awesome. LGTM!
I'd still wait for the input of @pcanal.
Yes, but I don't think people will do every upgrade and especially not for old macros. This was discussed in the ROOT meeting back then when we agreed that it would only be removed for ROOT 7. I'm ok with revisiting this decision, but I'm against just merging a PR less than half a year after it was deprecated. |
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.
.
3164345
to
7a46308
Compare
Why was this deprecation not mentioned in the 6.32 release notes? https://root.cern/doc/v632/release-notes.html The standard procedure is: if you deprecate something, write it in the release notes, including the information on when it will be eventually removed (which is usually one release later). If we don't follow our own standard here, we'll have these discussions forever :( |
In this case it was discussed: It will be removed in ROOT 7. |
Is that discussion documented somewhere? |
Yes, in https://indico.cern.ch/event/1381548/
|
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 agree with Jonas that it is too soon. (Anecdotally, my fingers still rely on this feature when typing at the prompt and grumble at the 'spurrious' warning :) ).
I would like to link here this note #15368 (comment) by @devajithvs : once this is merged, PR #15368 will have to be reverted. |
This Pull request:
Removes the implicit
auto
keyword support added in: 071d084 and 1f4a6dcChanges or fixes:
This feature was deprecated in: #14645
Will update LLVM and squash the commits here before the final merge/decision.
Checklist:
This PR fixes #