[PATCH] D25001: [Module] Merge function prototype with a non-prototype function declaration

Akira Hatanaka via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 12 15:38:46 PDT 2016


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





More information about the cfe-commits mailing list