clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I81aff1005be025ddb4405f384513c8e5e20bf6f4
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/mctp/MCTPEndpoint.hpp b/src/mctp/MCTPEndpoint.hpp
index 9205eb1..ffba380 100644
--- a/src/mctp/MCTPEndpoint.hpp
+++ b/src/mctp/MCTPEndpoint.hpp
@@ -163,10 +163,10 @@
* the request was successful then @p ep contains a
* valid MctpEndpoint instance.
*/
- virtual void
- setup(std::function<void(const std::error_code& ec,
- const std::shared_ptr<MCTPEndpoint>& ep)>&&
- added) = 0;
+ virtual void setup(
+ std::function<void(const std::error_code& ec,
+ const std::shared_ptr<MCTPEndpoint>& ep)>&&
+ added) = 0;
/**
* @brief Remove the device and any associated endpoint from the MCTP stack.
@@ -309,9 +309,9 @@
public:
static std::optional<SensorBaseConfigMap> match(const SensorData& config);
static bool match(const std::set<std::string>& interfaces);
- static std::shared_ptr<I2CMCTPDDevice>
- from(const std::shared_ptr<sdbusplus::asio::connection>& connection,
- const SensorBaseConfigMap& iface);
+ static std::shared_ptr<I2CMCTPDDevice> from(
+ const std::shared_ptr<sdbusplus::asio::connection>& connection,
+ const SensorBaseConfigMap& iface);
I2CMCTPDDevice() = delete;
I2CMCTPDDevice(