[QGIS-Developer] bugprone-branch-clone false positives
Julien Cabieces
julien.cabieces at oslandia.com
Mon Feb 2 01:02:56 PST 2026
Hi,
> Is anyone else annoyed by the number of (very clearly wrong) false positives that the bugprone-branch-clone lint check is giving on CI?
Yes, I was close to disable it recently.
I searched a little bit to better understand what was going on and my
conclusion is that there are several issues since clang 19 (missing
includes are one, but it doesn't behave well with some Qt type, like if
we replace a QVector with a std::vector, the issue suddenly disappear).
So, I'm in favor of removing it.
Regards,
Julien
> Hi list,
>
> Is anyone else annoyed by the number of (very clearly wrong) false positives that the bugprone-branch-clone lint check is giving on CI?
>
> Is there ANY value in this particular check? Or should we just disable it? It seems completely broken to me[1].
>
> Nyall
>
> [1] I searched upstream for bug reports and can't find anyone else having this issue. The closest I can find is possibly
> https://github.com/llvm/llvm-project/issues/67662
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
--
Julien Cabieces
Senior Developer at Oslandia
julien.cabieces at oslandia.com
More information about the QGIS-Developer
mailing list