[cfe-dev] [RFC] automatic variable initialization

via cfe-dev cfe-dev at lists.llvm.org
Thu Nov 29 07:25:15 PST 2018


> Suggested compromise technique to at least get an initial set of numbers:
>
> 1) Require a special, long, ugly flag name.
> 2) Make it a CC1 flag, requiring -Xclang ... to use.
> 3) Emit a warning by default (that cannot be suppressed with a -Wno-...
> flag) when this flag is enabled.

And immune to -Werror I think?

> 4) Commit to never including this flag in any upstream release. Either we
> remove it before the next release branches or we revert it on the branch.

Add it to the release-manager's checklist so it doesn't slip through.

(I don't know if my users would be interested in this, but I have been
through the ugly-option-name dance before.)
--paulr

> Most of the folks we're hoping to get performance data with are willing to
> use a not-yet-released build of Clang. They won't have to actually patch
> it in any way. They will have strong reminders to not deploy this in any
> way due to the warning.
>
> Thoughts?



More information about the cfe-dev mailing list