[gdal-dev] clang-tidy configs for gdal ?

Andrew C Aitchison andrew at aitchison.me.uk
Thu Jun 10 12:21:39 PDT 2021


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 
https://erouault.blogspot.com/2016/01/software-quality-improvements-in-gdal.html

Thanks,

-- 
Andrew C. Aitchison					Kendal, UK
 			andrew at aitchison.me.uk


More information about the gdal-dev mailing list