Fix two bugs that fell out from a testcase steve noticed. for this testcase:
extern int pintFunc(int *, int *); int test() { pintFunc(0, 3); } We now print: t3.c:4:13: warning: passing argument 2 makes pointer from integer without a cast pintFunc(0, ~~~~~~~~ ^ instead of: t3.c:4:13: warning: passing argument 2 makes pointer from integer without a cast pintFunc(0, ~~~~~~~~ llvm-svn: 39516
Loading
Please register or sign in to comment