[gdal-dev] clang-tidy configs for gdal ?
schwehr at gmail.com
Thu Jun 10 13:11:19 PDT 2021
My recommendation with clang-tidy is to start with all warnings disabled.
Then pick one that looks to be more likely to have constructive warnings.
Work on just those. Then you can progressively add them. And don't try to
deal with warnings for anything involving swig.
On Thu, Jun 10, 2021 at 12:34 PM Andrew C Aitchison <andrew at aitchison.me.uk>
> I've discovered clang-tidy and am letting it loose on my gdal drives.
> It is finding bugs and teaching me a lot about modern C++
> but as well as 100k+ bugs it found but did not report in "non-user code"
> it reports problems where I have used macros from the GDAL/CPL headers.
> I will report or submit patches once I understand these issues;
> in the mean time, are there any clang-tidy configs for gdal ?
> I have read and will reread
> Andrew C. Aitchison Kendal, UK
> andrew at aitchison.me.uk
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev