vectorgrp / sil-kit

Vector SIL Kit – Open-Source Library for Connecting Software-in-the-Loop Environments
https://vectorgrp.github.io/sil-kit-docs
MIT License
107 stars 32 forks source link

Dev clang format #37

Closed MariusBgm closed 5 months ago

MariusBgm commented 6 months ago

Subject

Run clang-format on all C and C++ files

Description

Used the following script:

find SilKit/ Demos/ Utilities/ \
    -type f -iname *.cpp -o -iname *.hpp -o -iname *.c -o -iname *.ipp \
    -o -iname *.h   | while read fname;
do
    clang-format-18 -i --style=file  $fname;
done

[UPDATE] Fixed clang-format version to 16, for compat reasons

Instructions for review / testing

Developer checklist (address before review)

MariusBgm commented 5 months ago

Reformatted with

$ clang-format-18 --version
Ubuntu clang-format version 18.1.8