clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.
Change-Id: I61b093f75011417cc9c7acf9605200f4fa429bac
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/libpldmresponder/pdr_numeric_effecter.hpp b/libpldmresponder/pdr_numeric_effecter.hpp
index d342636..0347af4 100644
--- a/libpldmresponder/pdr_numeric_effecter.hpp
+++ b/libpldmresponder/pdr_numeric_effecter.hpp
@@ -48,8 +48,8 @@
pdr->hdr.version = 1;
pdr->hdr.type = PLDM_NUMERIC_EFFECTER_PDR;
pdr->hdr.record_change_num = 0;
- pdr->hdr.length =
- sizeof(pldm_numeric_effecter_value_pdr) - sizeof(pldm_pdr_hdr);
+ pdr->hdr.length = sizeof(pldm_numeric_effecter_value_pdr) -
+ sizeof(pldm_pdr_hdr);
pdr->terminus_handle = e.value("terminus_handle", 0);
pdr->effecter_id = handler.getNextEffecterId();
@@ -103,15 +103,15 @@
pdr->aux_oem_unit_handle = e.value("aux_oem_unit_handle", 0);
pdr->aux_rate_unit = e.value("aux_rate_unit", 0);
pdr->is_linear = e.value("is_linear", true);
- pdr->effecter_data_size =
- e.value("effecter_data_size", PLDM_EFFECTER_DATA_SIZE_UINT8);
+ pdr->effecter_data_size = e.value("effecter_data_size",
+ PLDM_EFFECTER_DATA_SIZE_UINT8);
pdr->resolution = e.value("effecter_resolution_init", 1.00);
pdr->offset = e.value("offset", 0.00);
pdr->accuracy = e.value("accuracy", 0);
pdr->plus_tolerance = e.value("plus_tolerance", 0);
pdr->minus_tolerance = e.value("minus_tolerance", 0);
- pdr->state_transition_interval =
- e.value("state_transition_interval", 0.00);
+ pdr->state_transition_interval = e.value("state_transition_interval",
+ 0.00);
pdr->transition_interval = e.value("transition_interval", 0.00);
switch (pdr->effecter_data_size)
{
@@ -143,8 +143,8 @@
break;
}
- pdr->range_field_format =
- e.value("range_field_format", PLDM_RANGE_FIELD_FORMAT_UINT8);
+ pdr->range_field_format = e.value("range_field_format",
+ PLDM_RANGE_FIELD_FORMAT_UINT8);
pdr->range_field_support.byte = e.value("range_field_support", 0);
switch (pdr->range_field_format)
{
@@ -212,8 +212,8 @@
pldm::utils::DBusMapping dbusMapping{};
try
{
- auto service =
- dBusIntf.getService(objectPath.c_str(), interface.c_str());
+ auto service = dBusIntf.getService(objectPath.c_str(),
+ interface.c_str());
dbusMapping = pldm::utils::DBusMapping{objectPath, interface,
propertyName, propertyType};