HerrCai0907 wrote:
explicit bit usage will not case false positive without this patch. Should we
consider case of operator overloading?
```cpp
bool explicitBitUsage1(EStatus value) {
return (value & SUCCESS);
}
bool explicitBitUsage2(EStatus value) {
return (value | SUCCESS);
}
```https://github.com/llvm/llvm-project/pull/65498 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
