clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: I5317fbcfbe69b8699e79b62cb855cb142a1d32c3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/test/buffer_service_test.cpp b/test/buffer_service_test.cpp
index 602dfcc..0464bf2 100644
--- a/test/buffer_service_test.cpp
+++ b/test/buffer_service_test.cpp
@@ -38,8 +38,7 @@
 struct ConfigInTest
 {
     Config config;
-    ConfigInTest() : config()
-    {}
+    ConfigInTest() : config() {}
 };
 
 class BufferServiceTest : public Test, public ConfigInTest, public BufferService
@@ -56,7 +55,7 @@
 
   protected:
     // Set hostConsole firstly read specified data and then read nothing.
-    void setHostConsoleOnce(char const* data, size_t len)
+    void setHostConsoleOnce(const char* data, size_t len)
     {
         EXPECT_CALL(hostConsoleMock, read(_, Le(consoleReadMaxSize)))
             .WillOnce(DoAll(SetArrayArgument<0>(data, data + len), Return(len)))
@@ -104,7 +103,6 @@
 
 TEST_F(BufferServiceTest, ReadConsoleOk)
 {
-
     setHostConsoleOnce(firstDatagram, strlen(firstDatagram));
     EXPECT_CALL(logBufferMock,
                 append(StrEq(firstDatagram), Eq(strlen(firstDatagram))))