[clang-tools-extra] [clang-tidy] Add performance-bool-bitwise-operation check (PR #142324)

Carlos Galvez via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 6 11:45:54 PDT 2025


carlosgalvezp wrote:

> The check can recognize side effects.

Ok, that's great! Did you have a chance to run the test on a large codebase (e.g. the llvm-project) and see if we get any FPs in this regard?

>  if the check does more than one thing (readability, performance) we should place it under misc category

That's a good point, I agree. Is there be a strong reason _not_ to put it in `misc`?



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


More information about the cfe-commits mailing list