[PATCH]: Implementation of -Wcast-qual

Roman Divacky rdivacky at vlakno.cz
Tue Nov 11 10:58:48 PST 2014


Hi,

I implemented -Wcast-qual. The patch is actually quite short (attached + a test
case).

This fixes #13772 and also note that -Wcast-qual is used in llvm build itself.

Is this ok to be commited? Thanks

Roman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-cast-qual.patch
Type: text/x-diff
Size: 2147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141111/5261a61b/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: warn-cast-qual.c
Type: text/x-csrc
Size: 278 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141111/5261a61b/attachment.c>


More information about the cfe-commits mailing list