[Patch] Fix for PR9812

Erik Verbruggen erik.verbruggen at me.com
Sat Dec 14 05:31:40 PST 2013


Hi,

This is a fix for PR9812, and I have to say that I don't know what more to say in the commit message than "warn about bool instead of _Bool", so feedback is welcome! I sometimes run into this, hence the patch. 

Two notes: I have to say that the patch feels a bit intrusive, but I didn't find a better way to do this. Also, in MS mode, it will warn about __wchar_t v.s. wchar_t. I haven't extensively tested this on Windows, but to me it looks like the correct thing. Again, feedback welcome!

-- Erik

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-for-PR9812-warn-about-bool-instead-of-_Bool.patch
Type: application/octet-stream
Size: 56064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131214/875c7eb9/attachment.obj>


More information about the cfe-commits mailing list