[cfe-dev] constifying utility?
Laszlo Nagy
rizsotto.mailinglist at gmail.com
Tue Nov 26 02:55:32 PST 2013
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. ;)
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
>
>
More information about the cfe-dev
mailing list