<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Nov 22, 2013 at 12:34 PM, Laszlo Nagy <span dir="ltr"><<a href="mailto:rizsotto.mailinglist@gmail.com" target="_blank">rizsotto.mailinglist@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi Bruce,<br>
<br>
my attempt was this: <<a href="https://github.com/rizsotto/Constantine" target="_blank">https://github.com/rizsotto/Constantine</a>><br></blockquote><div><br></div><div>Hi Laszlo,</div><div><br></div><div>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.</div>
<div><br></div><div>Cheers,</div><div>/Manuel</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
regards,<br>
Laszlo<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, Nov 21, 2013 at 9:56 PM, Bruce Stephens<br>
<<a href="mailto:bruce.r.stephens@gmail.com">bruce.r.stephens@gmail.com</a>> wrote:<br>
> It seems (in principle) feasible for a utility to scan some function<br>
> or method and detect that in fact some non-const<br>
> parameters can't be modified. In that case it could suggest that that<br>
> parameter be made const. Similarly for const methods,<br>
> I guess.<br>
><br>
> Anybody written such a utility, or thought about it and decided not to<br>
> for some reason?<br>
> _______________________________________________<br>
> cfe-dev mailing list<br>
> <a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</div></div></blockquote></div><br></div></div>