[clang-tools-extra] [clang-tidy] Add performance-bool-bitwise-operation check (PR #142324)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 6 11:38:55 PDT 2025
vbvictor wrote:
> Actually, another reason for not putting this in performance is that the changes made by this check may lead to non-functional changes in the code.
Off-by-default option `StrictMode` may exclude fix-its that involve function with side-effects, etc..
AFAIK, if the check does more than one thing (readability, performance) we should place it under `misc` category, so I weakly in favor of `misc` because it may benefit users in different ways.
We shall wait for another opinion.
https://github.com/llvm/llvm-project/pull/142324
More information about the cfe-commits
mailing list