Const qualify everything?! - use correct size types all the time? - Seeking libtooling/libclang solution

When I come to a new C/C++ project I’m always annoyed by two things: under-use of const, and using size types which don’t match the type being assigned (e.g., for(int i=0; i<vec.size(); i++)).

Has anyone written a refactorer in libclang or libtooling for this?

Happy to have a go writing it myself, but it’s always easier to base upon someone elses :sweat_smile:

Thanks