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

Kristóf Umann via cfe-dev cfe-dev at lists.llvm.org
Fri Aug 23 08:41:43 PDT 2019


Hi!

I just pushed this revision, could this be the issue? How recent is your
clang?
https://reviews.llvm.org/D65065

+ Tibor Brunner

Cheers,
Kristóf

On Fri, 23 Aug 2019, 17:39 Yitzhak Mandelbaum via cfe-dev, <
cfe-dev at lists.llvm.org> wrote:

> 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
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190823/1b3663f7/attachment.html>


More information about the cfe-dev mailing list