Thinking of wrapping every top-line #include "${relative_path}/port.h" into clang-format-disabling guards, because we used to make it an important rule that port.h is #include-d first (i.e. #define NOMINMAX on Windows). Although we might well live without this change and see if all goes well, right?
Hi @mzhurovich,
This PR moves Current to
clang-format-10
. I've also tweaked some.clang-format
rules, see https://github.com/dkorolev/Current/commit/a290019130a852ae5da9f55b2f12cd9a68deb9ab for how it reformats the code.Thinking of wrapping every top-line
#include "${relative_path}/port.h"
intoclang-format
-disabling guards, because we used to make it an important rule thatport.h
is#include
-d first (i.e.#define NOMINMAX
on Windows). Although we might well live without this change and see if all goes well, right?Thanks, Dima