Format code using Clang-Format 10 and enforce via CI

Makes the format of the code base uniform.
This commit is contained in:
Alexander Grund 2022-01-24 16:11:29 +01:00
parent b5bb500bd2
commit ee72e8b9d8
No known key found for this signature in database
GPG key ID: AA48A0760367A42B
97 changed files with 11189 additions and 10842 deletions

View file

@ -15,10 +15,11 @@
class calculator
{
view& v;
public:
calculator( view& v ): v(v){}
void add( int a, int b ){ v.display(a + b); } // the result will be sent to the view 'v'
public:
calculator(view& v) : v(v) {}
void add(int a, int b) { v.display(a + b); } // the result will be sent to the view 'v'
};
//]