cornelius / kode

XML meta programming
http://www.lst.de/~cs/kode
20 stars 10 forks source link

Reformatted whole code with clang-formatter #38

Closed martonmiklos closed 4 years ago

martonmiklos commented 4 years ago

Reformatted the code with clang-format with the Qt clang-format file. I have also added a clang-format checker github action, tested it with committing some misformatted code and it works fine.

Just for posterity I have ran the following command on the sources:

find . -regex '.*\.\(cpp\|h\)' ! -name "*moc*" ! -name "*CMake*" -exec clang-format-6.0 -style=file -i {} \;