clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I2f0b9d0fb6e01ed36a2f34c750ba52de3b6d15d1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/redfish-core/lib/processor.hpp b/redfish-core/lib/processor.hpp
index b07f86c..d4afd3d 100644
--- a/redfish-core/lib/processor.hpp
+++ b/redfish-core/lib/processor.hpp
@@ -266,8 +266,8 @@
* @return Returns as a string, the throttle cause in Redfish terms. If
* translation cannot be done, returns "Unknown" throttle reason.
*/
-inline processor::ThrottleCause
- dbusToRfThrottleCause(const std::string& dbusSource)
+inline processor::ThrottleCause dbusToRfThrottleCause(
+ const std::string& dbusSource)
{
if (dbusSource ==
"xyz.openbmc_project.Control.Power.Throttle.ThrottleReasons.ClockLimit")
@@ -297,10 +297,10 @@
return processor::ThrottleCause::Invalid;
}
-inline void
- readThrottleProperties(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp,
- const boost::system::error_code& ec,
- const dbus::utility::DBusPropertiesMap& properties)
+inline void readThrottleProperties(
+ const std::shared_ptr<bmcweb::AsyncResp>& asyncResp,
+ const boost::system::error_code& ec,
+ const dbus::utility::DBusPropertiesMap& properties)
{
if (ec)
{
@@ -570,10 +570,10 @@
* @param[in] service D-Bus service to query.
* @param[in] objPath D-Bus object to query.
*/
-inline void
- getCpuConfigData(const std::shared_ptr<bmcweb::AsyncResp>& asyncResp,
- const std::string& cpuId, const std::string& service,
- const std::string& objPath)
+inline void getCpuConfigData(
+ const std::shared_ptr<bmcweb::AsyncResp>& asyncResp,
+ const std::string& cpuId, const std::string& service,
+ const std::string& objPath)
{
BMCWEB_LOG_INFO("Getting CPU operating configs for {}", cpuId);
@@ -1360,7 +1360,7 @@
std::optional<std::string> appliedConfigUri;
if (!json_util::readJsonPatch(
- req, asyncResp->res, //
+ req, asyncResp->res, //
"AppliedOperatingConfig/@odata.id", appliedConfigUri //
))
{