Draft: check-style: Add support for clang-format-18
Perhaps a more future-proof solution would be to check the minimum clang-format version, maybe the newer versions have to be checked to not add backward glitches.
clang-format-18 seems to behave well - and if anybody is wondering, homebred upgraded my clang-format to 18.1.0rc
EDIT (Eduardo): clang-format-18 introduces incompatibilities with previous versions of clang-format. In order to ensure that all versions produce consistent formatting, some pieces of code have to be reformatted. These steps are included in the following MRs in addition to this MR.
Steps to Harmonize the Coding Style for pre- and post- clang-format-18
Edited by Eduardo Almeida