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

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 14 13:47:50 PST 2015


aaron.ballman added a comment.

I would be interested in seeing test cases where this is an improvement. For instance, would it be equally as useful to pass in the type range to the existing diagnostic so that the type gets highlighted as well (and skip the note entirely)?


http://reviews.llvm.org/D15486





More information about the cfe-commits mailing list