Currently, code like this compiles cleanly in C++, but with warnings (as it should) in C:
int foo() {
void *_Nullable p;
void *_Nonnull n = p;
}This patch makes us emit the appropriate warnings in C++.
@doug.gregor: arc said you would be best to review this; if you're unable to, I'm happy to ping others. :)