The Static Analyzer assumed that all pointers had the same bit width. Now pass the type to the 'makeNull' method, to construct a null
pointer of the appropiate bit width.
Example code that does not work well:
int main(void) { __cm void *cm_p = 0; if (cm_p == 0) (void)cm_p; }
Unfortunately there is no proper testcase here. The problem is seen with a custom target.
The isUnsigned parameter is not used and is not necessary as the type itself has this info.
Not clear if this function is expected to work for all types or only scalar types (maybe assert that the input is isScalarType()).