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_args.cpp b/ikvm_args.cpp
index 681a9f8..7e824dc 100644
--- a/ikvm_args.cpp
+++ b/ikvm_args.cpp
@@ -12,15 +12,16 @@
{
int option;
const char* opts = "f:s:h:k:p:u:v:c";
- struct option lopts[] = {{"frameRate", 1, 0, 'f'},
- {"subsampling", 1, 0, 's'},
- {"help", 0, 0, 'h'},
- {"keyboard", 1, 0, 'k'},
- {"mouse", 1, 0, 'p'},
- {"udcName", 1, 0, 'u'},
- {"videoDevice", 1, 0, 'v'},
- {"calcCRC", 0, 0, 'c'},
- {0, 0, 0, 0}};
+ struct option lopts[] = {
+ {"frameRate", 1, 0, 'f'},
+ {"subsampling", 1, 0, 's'},
+ {"help", 0, 0, 'h'},
+ {"keyboard", 1, 0, 'k'},
+ {"mouse", 1, 0, 'p'},
+ {"udcName", 1, 0, 'u'},
+ {"videoDevice", 1, 0, 'v'},
+ {"calcCRC", 0, 0, 'c'},
+ {0, 0, 0, 0}};
while ((option = getopt_long(argc, argv, opts, lopts, NULL)) != -1)
{