clang-format: update latest spec and reformat with clang-21

Copy the latest format file from the docs repository and apply using
clang-format-21.

See I795e88ada8e676c242b5a18888ce9c08afdedc93 for clang-21 enablement.

Change-Id: I46846988a94b2362ab1cccf3817976c422d0d646
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/cper-parse.i b/cper-parse.i
index 45c8d3a..b2f4409 100644
--- a/cper-parse.i
+++ b/cper-parse.i
@@ -7,8 +7,7 @@
 	}
 
 	//Library function declarations for module export.
-	json_object *
-	cper_to_ir(FILE *cper_file);
+	json_object *cper_to_ir(FILE *cper_file);
 void ir_to_cper(json_object *ir, FILE *out);
 
 //JSON function symbol export.
diff --git a/include/libcper/Cper.h b/include/libcper/Cper.h
index b3333d3..5c7ad54 100644
--- a/include/libcper/Cper.h
+++ b/include/libcper/Cper.h
@@ -802,13 +802,17 @@
 typedef struct {
 	UINT64 Resv1 : 8;
 	UINT64 Type : 8;
-	UINT64 AddressSignal : 1; ///< Error in Address signals or in Address portion of transaction
-	UINT64 ControlSignal : 1; ///< Error in Control signals or in Control portion of transaction
-	UINT64 DataSignal : 1; ///< Error in Data signals or in Data portion of transaction
+	UINT64 AddressSignal
+		: 1; ///< Error in Address signals or in Address portion of transaction
+	UINT64 ControlSignal
+		: 1; ///< Error in Control signals or in Control portion of transaction
+	UINT64 DataSignal
+		: 1; ///< Error in Data signals or in Data portion of transaction
 	UINT64 DetectedByResponder : 1; ///< Error detected by responder
 	UINT64 DetectedByRequester : 1; ///< Error detected by requestor
 	UINT64 FirstError : 1; ///< First Error in the sequence - option field
-	UINT64 OverflowNotLogged : 1; ///< Additional errors were not logged due to lack of resources
+	UINT64 OverflowNotLogged
+		: 1; ///< Additional errors were not logged due to lack of resources
 	UINT64 Resv2 : 41;
 } EFI_GENERIC_ERROR_STATUS;
 
diff --git a/include/libcper/sections/cper-section-pcie.h b/include/libcper/sections/cper-section-pcie.h
index 24b58f2..c23ab59 100644
--- a/include/libcper/sections/cper-section-pcie.h
+++ b/include/libcper/sections/cper-section-pcie.h
@@ -66,7 +66,8 @@
  */
 typedef struct {
 	UINT16 capability_id : 8; // bits [7:0] - Capability ID (should be 0x10)
-	UINT16 next_capability_pointer : 8; // bits [7:0] - Next capability pointer
+	UINT16 next_capability_pointer
+		: 8;		  // bits [7:0] - Next capability pointer
 } __attribute__((packed)) pcie_capability_header_t;
 
 /*