ahatanak added a comment.
It looks like this patch doesn't do what I thought would do when the
unprototyped function declaration is in the header and the prototyped function
declaration is in the source code. The DeclRefExpr created for the call to
func1("abc", 12) points to the unprototyped function "func1()" instead of
"func1(const char *, int)".
cfe-commits mailing list