bugprone-bool-pointer-implicit-conversion¶
Checks for conditions based on implicit conversion from a bool
pointer to
bool
.
Example:
bool *p;
if (p) {
// Never used in a pointer-specific way.
}
Checks for conditions based on implicit conversion from a bool
pointer to
bool
.
Example:
bool *p;
if (p) {
// Never used in a pointer-specific way.
}