[clang-tools-extra] [clang-tidy] Add performance-bool-bitwise-operation check (PR #142324)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 2 05:08:38 PDT 2025
https://github.com/vbvictor commented:
Left some general feedback, mostly docs/wording suggestions.
For ease of review in the future, may you try to make `BoolBitwiseOperationCheck::check` function easier to read.
E.g. extract some helper functions like `HasVolatileOrSideEffects`, `GetTranslatedSpelling` etc.. Mostly to cover noise of many `return` statements.
https://github.com/llvm/llvm-project/pull/142324
More information about the cfe-commits
mailing list