On vendredi 17 novembre 2017 10:27:34 CET Ari Jolma wrote: > Even Rouault kirjoitti 16.11.2017 klo 22:07: > > We have already various "linting" tools that run: cppcheck, clang > > static analyzer, coverity scan and a few ad-hoc scripts in scripts/ . > > But indeed we don't enforce things like maximum size of a function, etc. > > clang looks interesting. I installed it but it seems that it needs > various things. I see clang-format in scripts but that's not very > helpful as such. Is there an easy howto get started somewhere? I'd like > to run something like "clang-tidy *.cpp" in the directory where I do things.
Code formatting has been discussed in: https://trac.osgeo.org/gdal/wiki/rfc69_cplusplus_formatting Even -- Spatialys - Geospatial professional services http://www.spatialys.com
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev