0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-19 19:52:15 +02:00
Commit Graph

2 Commits

Author SHA1 Message Date
David Sommerseth
dde1574596
Reformatting source code to new coding style
This is the result after running 'clang-format -i' on all C++ files and
headers, with the defined formatting rules in .clang-format.

Only the openvpn/common/unicode-impl.hpp has been excluded, as that is
mostly a copy of an external project.

Signed-off-by: David Sommerseth <davids@openvpn.net>
2023-01-18 19:24:15 +01:00
David Sommerseth
66527fa611
Add code style configurations
This adds a clang-format with the new code style for OpenVPN 3.

A very light Emacs dir-locals configuration has also been added, but
that will most likely not cover all the formatting aspects which
clang-format does.  Running clang-format before committing is still
highly recommended to ensure the coding style is consistent.

Signed-off-by: David Sommerseth <davids@openvpn.net>
2022-09-14 17:35:30 +02:00