bob.wilson added a comment.

In http://reviews.llvm.org/D17941#369698, @bcraig wrote:

> What about wprintf?  Do we currently warn for wprintf(str)?  If so, then the 
> fixit probably needs to involve L"%ls".


Darwin does not mark wprintf functions with an attribute. Linux (at least the 
version I checked) has an attribute that is commented out, but it uses a 
distinct "__wprintf__" format type. Clang does not currently support that 
format type. If that is added in the future, you are right that the fix-it will 
need to be different.


http://reviews.llvm.org/D17941



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to