[PATCH] D45383: Strip reference from a va_list object in C when merging parameter types.
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 9 09:00:31 PDT 2018
efriedma added a comment.
> vprintf is handled using the exact same code-paths. SO, it'll have its 2nd parameter created with type 'char*&'
vprintf is defined in the C standard as "int vprintf(const char *format, va_list arg);"; on Windows, that's equivalent to "int vprintf(const char *format, char* arg);". If a reference is showing up anywhere, something has gone seriously wrong before we get anywhere near the type merging code.
Repository:
rC Clang
https://reviews.llvm.org/D45383
More information about the cfe-commits
mailing list