[cfe-dev] constifying utility?

Manuel Klimek klimek at google.com
Tue Nov 26 02:57:45 PST 2013


On Tue, Nov 26, 2013 at 11:55 AM, Laszlo Nagy <
rizsotto.mailinglist at gmail.com> wrote:

> hi Manuel,
>
> thanks for the nice words. :) i did it as plugin, because i was
> learning what libclang can do. i'm gonna give another try next year...
> with the new release... and maybe as a standalone tool with rewrite as
> you suggested... but for that, i will need to learn more before. ;)
>

Looking forward to it :) I know a few people who would be very interested
in such a tool...


>
> regards,
> Laszlo
>
> On Mon, Nov 25, 2013 at 12:44 PM, Manuel Klimek <klimek at google.com> wrote:
> > 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/20131126/b0bf0671/attachment.html>


More information about the cfe-dev mailing list