[cfe-dev] constifying utility?
Manuel Klimek
klimek at google.com
Mon Nov 25 03:44:51 PST 2013
On Fri, Nov 22, 2013 at 12:34 PM, Laszlo Nagy <
rizsotto.mailinglist at gmail.com> wrote:
> hi Bruce,
>
> my attempt was this: <https://github.com/rizsotto/Constantine>
>
Hi Laszlo,
this looks pretty cool - I'd be curious why you made this a plugin instead
of a standalone tool that would be able to insert the const where needed.
Cheers,
/Manuel
>
> regards,
> Laszlo
>
> On Thu, Nov 21, 2013 at 9:56 PM, Bruce Stephens
> <bruce.r.stephens at gmail.com> wrote:
> > It seems (in principle) feasible for a utility to scan some function
> > or method and detect that in fact some non-const
> > parameters can't be modified. In that case it could suggest that that
> > parameter be made const. Similarly for const methods,
> > I guess.
> >
> > Anybody written such a utility, or thought about it and decided not to
> > for some reason?
> > _______________________________________________
> > cfe-dev mailing list
> > cfe-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131125/b8e41d9c/attachment.html>
More information about the cfe-dev
mailing list