[cfe-dev] clang-tidy readability-identifier-naming check does not handle member usages correctly

Miklos Vajna via cfe-dev cfe-dev at lists.llvm.org
Thu Jul 26 01:01:18 PDT 2018


Hi,

On Sun, Jul 22, 2018 at 10:32:44PM +0300, Michael Jabbour via cfe-dev <cfe-dev at lists.llvm.org> wrote:
> I am trying to refactor a code base to follow some naming conventions
> using clang-tidy readability-identifier-naming check. Unfortunately, I
> always get code that does not compile. The check does not seem to rename
> any method calls and member variable usages. I found a question on
> stackoverflow ( https://stackoverflow.com/q/50906481/2666212 ) that
> talks about the same issue (but no answers).

Did you check if you get better results if you just flag the problematic
cases with clang-tidy, but use clang-rename to do the additional
renaming? It's possible that one handles much more cases.

Regards,

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180726/1481492e/attachment.sig>


More information about the cfe-dev mailing list