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)".
https://reviews.llvm.org/D25001
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits