sammccall added a comment. Hmm, musl does `#define stderr (stderr)` :-( And they discussed #define stderr (stderr+0). (To enforce it's not assigned to etc) https://github.com/cloudius-systems/musl/blob/master/include/stdio.h#L61
Ilya also pointed out offline the windows API convention: CreateFile is a macro for CreateFileW or CreateFileA. In these cases merely suppressing the macro isn't enough, we'd want to replace its info with the underlying decl. Not sure how/whether to generalize this hack... Repository: rC Clang https://reviews.llvm.org/D47896 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits