[clang-tools-extra] [clang-tidy] New bugprone-method-hiding check (PR #154746)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 26 13:13:17 PDT 2025


vbvictor wrote:

> The check name is a bit too vague/general, I would call it `bugprone-derived-method-shadowing-base-method` or similar. You can easily apply the renaming with the `rename_check.py`. But let's wait until there's some consensus on this.

Agree, initially I was thinking about `bugprone-method-shadowing`: it's concise and not overwhelming IMO 

https://github.com/llvm/llvm-project/pull/154746


More information about the cfe-commits mailing list