[PATCH] D15486: [RFC] Emit note pointing to a discarded qualifier [-Wincompatible-pointer-types-discards-qualifiers]

Jonathan Roelofs via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 14 10:58:58 PST 2015


jroelofs added a comment.

Can you write up a couple of testcases for the new diagnostic? There should be some examples you can follow in clang/test/Sema ans clang/test/SemaCXX.

I'd also be interested in seeing a concrete example of the setter thing you were talking about in ObjC/ObjC++.


http://reviews.llvm.org/D15486





More information about the cfe-commits mailing list