clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda formatting also changed, so we have made changes to the
organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style.
See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: I6e1b877213f3a2921d78ffe2a5fe71d93db65574
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/ikvm_server.hpp b/ikvm_server.hpp
index 7ad48af..bc055f3 100644
--- a/ikvm_server.hpp
+++ b/ikvm_server.hpp
@@ -92,9 +92,8 @@
* @param[in] cl - Handle to the client object
* @param[in] furMsg - Pointer of the FUR message
*/
- static void
- clientFramebufferUpdateRequest(rfbClientPtr cl,
- rfbFramebufferUpdateRequestMsg* furMsg);
+ static void clientFramebufferUpdateRequest(
+ rfbClientPtr cl, rfbFramebufferUpdateRequestMsg* furMsg);
/*
* @brief Handler for a client disconnecting
*
@@ -134,47 +133,49 @@
/* @brief Cursor bitmap height */
static constexpr int cursorHeight = 20;
/* @brief Cursor bitmap */
- static constexpr char cursor[] = " "
- " x "
- " xx "
- " xxx "
- " xxxx "
- " xxxxx "
- " xxxxxx "
- " xxxxxxx "
- " xxxxxxxx "
- " xxxxxxxxx "
- " xxxxxxxxxx "
- " xxxxxxxxxxx "
- " xxxxxxx "
- " xxxxxxx "
- " xxx xxx "
- " xx xxx "
- " x xxx "
- " xxx "
- " x "
- " ";
+ static constexpr char cursor[] =
+ " "
+ " x "
+ " xx "
+ " xxx "
+ " xxxx "
+ " xxxxx "
+ " xxxxxx "
+ " xxxxxxx "
+ " xxxxxxxx "
+ " xxxxxxxxx "
+ " xxxxxxxxxx "
+ " xxxxxxxxxxx "
+ " xxxxxxx "
+ " xxxxxxx "
+ " xxx xxx "
+ " xx xxx "
+ " x xxx "
+ " xxx "
+ " x "
+ " ";
/* @brief Cursor bitmap mask */
- static constexpr char cursorMask[] = " o "
- "oxo "
- "oxxo "
- "oxxxo "
- "oxxxxo "
- "oxxxxxo "
- "oxxxxxxo "
- "oxxxxxxxo "
- "oxxxxxxxxo "
- "oxxxxxxxxxo "
- "oxxxxxxxxxxo "
- "oxxxxxxxxxxxo "
- "oxxxxxxxoooo "
- "oxxxxxxxo "
- "oxxxooxxxo "
- "oxxo oxxxo "
- "oxo oxxxo "
- " o oxxxo "
- " oxo "
- " o ";
+ static constexpr char cursorMask[] =
+ " o "
+ "oxo "
+ "oxxo "
+ "oxxxo "
+ "oxxxxo "
+ "oxxxxxo "
+ "oxxxxxxo "
+ "oxxxxxxxo "
+ "oxxxxxxxxo "
+ "oxxxxxxxxxo "
+ "oxxxxxxxxxxo "
+ "oxxxxxxxxxxxo "
+ "oxxxxxxxoooo "
+ "oxxxxxxxo "
+ "oxxxooxxxo "
+ "oxxo oxxxo "
+ "oxo oxxxo "
+ " o oxxxo "
+ " oxo "
+ " o ";
};
} // namespace ikvm