[gdal-dev] clang-format variation - just for info

2024-05-30 Thread Andrew C Aitchison via gdal-dev
I don't think this affects any gdal code. If you put a comment after an #else an #endif or "}" (eg to aide finding the start of the block) then clang-format v15 and v18 will rearrange the whitespace differently. Ubuntu Noble 24-04 ships v18. -- Andrew C. Aitchison Kendal,

Re: [gdal-dev] Clang-format

2020-10-11 Thread Mateusz Loskot
On Sat, 10 Oct 2020 at 23:39, Even Rouault wrote: > > > However, I found it strange that there is no automatic formatting with > > clang-format for C++ code. > > > > In this page > > https://gdal.org/development/rfc/rfc69_cplusplus_formatting.html it is > > suggesting to use it. That would be grea

Re: [gdal-dev] Clang-format

2020-10-10 Thread Even Rouault
Hi, > I am trying to make a PR ready for release 3.2 (let's see if I am able to > do it). > However, I found it strange that there is no automatic formatting with > clang-format for C++ code. > > In this page > https://gdal.org/development/rfc/rfc69_cplusplus_formatting.html it is > suggesting to

[gdal-dev] Clang-format

2020-10-10 Thread Javier Jimenez Shaw
Hi I am trying to make a PR ready for release 3.2 (let's see if I am able to do it). However, I found it strange that there is no automatic formatting with clang-format for C++ code. In this page https://gdal.org/development/rfc/rfc69_cplusplus_formatting.html it is suggesting to use it. That wou