We found conversion from bool* to bool to be a common source of bug, so we have implemented this warning. Sample use case:
int bar(bool b) {
return b;
}
int baz() {
bool *b;
bar(b);
return 0;
}Typically, there would be a function which takes a bool, which gets a pointer to boolean at the call site. The compiler currently does not warn which results
in a difficult to debug runtime failure.
Also, this really really should be under it's own flag, which in turn may be under Extra.