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: I01547e98d27910919e09ebf7907c86292a6c825d
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/ipmisensor.cpp b/ipmisensor.cpp
index ee9be19..55e4914 100644
--- a/ipmisensor.cpp
+++ b/ipmisensor.cpp
@@ -50,33 +50,34 @@
char text[64];
};
-event_data_t g_fwprogress02h[] = {{0x00, "Unspecified"},
- {0x01, "Memory Init"},
- {0x02, "HD Init"},
- {0x03, "Secondary Proc Init"},
- {0x04, "User Authentication"},
- {0x05, "User init system setup"},
- {0x06, "USB configuration"},
- {0x07, "PCI configuration"},
- {0x08, "Option ROM Init"},
- {0x09, "Video Init"},
- {0x0A, "Cache Init"},
- {0x0B, "SM Bus init"},
- {0x0C, "Keyboard Init"},
- {0x0D, "Embedded ctrl init"},
- {0x0E, "Docking station attachment"},
- {0x0F, "Enable docking station"},
- {0x10, "Docking station ejection"},
- {0x11, "Disabling docking station"},
- {0x12, "Calling OS Wakeup"},
- {0x13, "Starting OS"},
- {0x14, "Baseboard Init"},
- {0x15, ""},
- {0x16, "Floppy Init"},
- {0x17, "Keyboard Test"},
- {0x18, "Pointing Device Test"},
- {0x19, "Primary Proc Init"},
- {0xFF, "Unknown"}};
+event_data_t g_fwprogress02h[] = {
+ {0x00, "Unspecified"},
+ {0x01, "Memory Init"},
+ {0x02, "HD Init"},
+ {0x03, "Secondary Proc Init"},
+ {0x04, "User Authentication"},
+ {0x05, "User init system setup"},
+ {0x06, "USB configuration"},
+ {0x07, "PCI configuration"},
+ {0x08, "Option ROM Init"},
+ {0x09, "Video Init"},
+ {0x0A, "Cache Init"},
+ {0x0B, "SM Bus init"},
+ {0x0C, "Keyboard Init"},
+ {0x0D, "Embedded ctrl init"},
+ {0x0E, "Docking station attachment"},
+ {0x0F, "Enable docking station"},
+ {0x10, "Docking station ejection"},
+ {0x11, "Disabling docking station"},
+ {0x12, "Calling OS Wakeup"},
+ {0x13, "Starting OS"},
+ {0x14, "Baseboard Init"},
+ {0x15, ""},
+ {0x16, "Floppy Init"},
+ {0x17, "Keyboard Test"},
+ {0x18, "Pointing Device Test"},
+ {0x19, "Primary Proc Init"},
+ {0xFF, "Unknown"}};
event_data_t g_fwprogress00h[] = {
{0x00, "Unspecified."},