clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: Ic23653be3ed404980fd0e723d9ed8354e2b32579
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/include/ipmid/handler.hpp b/include/ipmid/handler.hpp
index 77f6670..4337b17 100644
--- a/include/ipmid/handler.hpp
+++ b/include/ipmid/handler.hpp
@@ -43,16 +43,16 @@
{
template <typename... Args>
-static inline message::Response::ptr
- errorResponse(message::Request::ptr request, ipmi::Cc cc, Args&&... args)
+static inline message::Response::ptr errorResponse(
+ message::Request::ptr request, ipmi::Cc cc, Args&&... args)
{
message::Response::ptr response = request->makeResponse();
response->cc = cc;
response->pack(args...);
return response;
}
-static inline message::Response::ptr
- errorResponse(message::Request::ptr request, ipmi::Cc cc)
+static inline message::Response::ptr errorResponse(
+ message::Request::ptr request, ipmi::Cc cc)
{
message::Response::ptr response = request->makeResponse();
response->cc = cc;
@@ -141,8 +141,8 @@
*
* @return a shared_ptr to a Response object
*/
- virtual message::Response::ptr
- executeCallback(message::Request::ptr request) = 0;
+ virtual message::Response::ptr executeCallback(
+ message::Request::ptr request) = 0;
};
/**
@@ -181,8 +181,8 @@
*
* @return a shared_ptr to a Response object
*/
- message::Response::ptr
- executeCallback(message::Request::ptr request) override
+ message::Response::ptr executeCallback(
+ message::Request::ptr request) override
{
message::Response::ptr response = request->makeResponse();
@@ -346,8 +346,8 @@
*
* @return a shared_ptr to a Response object
*/
- message::Response::ptr
- executeCallback(message::Request::ptr request) override
+ message::Response::ptr executeCallback(
+ message::Request::ptr request) override
{
message::Response::ptr response = request->makeResponse();
// allocate a big response buffer here
@@ -432,8 +432,8 @@
*
* @return a shared_ptr to a Response object
*/
- message::Response::ptr
- executeCallback(message::Request::ptr request) override
+ message::Response::ptr executeCallback(
+ message::Request::ptr request) override
{
message::Response::ptr response = request->makeResponse();
// allocate a big response buffer here