clang-format: re-format for clang-19
clang-format-19 isn't compatible with the clang-format-18 output, so we
need to reformat the code with the latest version. A few parameters
in clang-tidy have been deprecated, so adjust the style file
accordingly.
See Ie2f6eb3b043f2d655c9df806815afd7971fd0947 for updated style.
See I88192b41ab7a95599a90915013579608af7bc56f for clang-19 enablement.
Change-Id: Iae27e5bd313778cb732d5e87598cd94cc6b13cb4
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/subprojects/ncsid/src/ncsi_sockio.cpp b/subprojects/ncsid/src/ncsi_sockio.cpp
index ec28c42..7ef3c01 100644
--- a/subprojects/ncsid/src/ncsi_sockio.cpp
+++ b/subprojects/ncsid/src/ncsi_sockio.cpp
@@ -75,10 +75,7 @@
int SockIO::recv(void* buf, size_t maxlen)
{
- struct pollfd sock_pollfd
- {
- sockfd_, POLLIN | POLLPRI, 0
- };
+ struct pollfd sock_pollfd{sockfd_, POLLIN | POLLPRI, 0};
int ret = poll(&sock_pollfd, 1, kpoll_timeout_);
if (ret > 0)