Fix PR 30828. __attribute__((notnull)) was not inheritable in the redefinition of a function. This is because attribute NonNull wasn't InheritableParamAttr, it was InheritableAttr. Clang will now emit warning after calling the redeclared function with a null argument.
This is my first patch into Clang, so I'll need someone to commit this for me.
Cheers
Is this not pr30828?