clang-format: copy latest and re-format
clang-format-17 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: I2f9540cf0d545a2da4d6289fc87b754f684bc9a7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/redfish-core/lib/pcie.hpp b/redfish-core/lib/pcie.hpp
index 3831e18..6bd74f9 100644
--- a/redfish-core/lib/pcie.hpp
+++ b/redfish-core/lib/pcie.hpp
@@ -67,7 +67,7 @@
return;
}
callback(pcieDevicePath, object.begin()->first);
- });
+ });
return;
}
@@ -96,7 +96,7 @@
handlePCIeDevicePath(pcieDeviceId, asyncResp, pcieDevicePaths,
callback);
return;
- });
+ });
}
static inline void handlePCIeDeviceCollectionGet(
@@ -254,7 +254,7 @@
return;
}
callback(endpoints[0]);
- });
+ });
}
inline void
@@ -277,7 +277,7 @@
const boost::system::error_code& ec2,
const dbus::utility::DBusPropertiesMap& pcieSlotProperties) {
addPCIeSlotProperties(asyncResp->res, ec2, pcieSlotProperties);
- });
+ });
}
inline void afterGetPCIeDeviceSlotPath(
@@ -290,7 +290,7 @@
pcieDeviceSlot](const boost::system::error_code& ec,
const dbus::utility::MapperGetObject& object) {
afterGetDbusObject(asyncResp, pcieDeviceSlot, ec, object);
- });
+ });
}
inline void
@@ -317,7 +317,7 @@
{
asyncResp->res.jsonValue["Status"]["Health"] = "Critical";
}
- });
+ });
}
inline void
@@ -343,7 +343,7 @@
{
asyncResp->res.jsonValue["Status"]["State"] = "Absent";
}
- });
+ });
}
inline void
@@ -408,7 +408,7 @@
{
asyncResp->res.jsonValue["SparePartNumber"] = *sparePartNumber;
}
- });
+ });
}
inline void addPCIeDeviceProperties(
@@ -521,7 +521,7 @@
return;
}
callback(pcieDevProperties);
- });
+ });
}
inline void addPCIeDeviceCommonProperties(
@@ -669,8 +669,8 @@
const dbus::utility::DBusPropertiesMap& pcieDevProperties) {
addPCIeFunctionList(asyncResp->res, pcieDeviceId,
pcieDevProperties);
- });
});
+ });
}
inline void requestRoutesSystemPCIeFunctionCollection(App& app)
@@ -823,7 +823,7 @@
pcieFunctionId);
addPCIeFunctionProperties(asyncResp->res, pcieFunctionId,
pcieDevProperties);
- });
+ });
});
}