[cfe-dev] clang tidy: multiple diagnostics for a single source location?

Yitzhak Mandelbaum via cfe-dev cfe-dev at lists.llvm.org
Fri Aug 23 08:39:27 PDT 2019


I've hit a case where a clang-tidy check is losing a diagnostic (w/
associated fix) when its associated location is the same as an earlier
diagnostic. This happens even when the fix itself changes a different
source range.

Is this working-as-intended? If so, is there any way to get clang-tidy to
warn about the dropped fix, rather than dropping it silently? If not, any
pointers to where this might be happening would be appreciated.

Thanks,
Yitzhak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190823/49df01eb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4847 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190823/49df01eb/attachment.bin>


More information about the cfe-dev mailing list