Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly test to see if bitmask value is non-zero.
The clang-tidy "implicit boolean conversion" check pointed out a couple of places where masks are applied to bitfields, and then the resulting value is implicitly tested to see if it is non-zero. Make these tests explicit. https://clang.llvm.org/extra/clang-tidy/checks/readability-implicit-bool-conversion.html
- Loading branch information