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: Ic5fd073faa7391d3f0b37787d6a9c7688c9a3253
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/user_channel/channel_mgmt.cpp b/user_channel/channel_mgmt.cpp
index a179b37..2d492e0 100644
--- a/user_channel/channel_mgmt.cpp
+++ b/user_channel/channel_mgmt.cpp
@@ -355,7 +355,7 @@
std::string path = msg.get_path();
msg.read(iface, props);
processChAccessPropChange(path, props);
- });
+ });
signalHndlrObjectState = true;
chInterfaceAddedSignal = std::make_unique<sdbusplus::bus::match_t>(
diff --git a/user_channel/user_layer.hpp b/user_channel/user_layer.hpp
index 8258f6b..ad215e3 100644
--- a/user_channel/user_layer.hpp
+++ b/user_channel/user_layer.hpp
@@ -50,18 +50,18 @@
struct PrivAccess
{
#if BYTE_ORDER == LITTLE_ENDIAN
- uint8_t privilege : 4;
- uint8_t ipmiEnabled : 1;
- uint8_t linkAuthEnabled : 1;
- uint8_t accessCallback : 1;
- uint8_t reserved : 1;
+ uint8_t privilege:4;
+ uint8_t ipmiEnabled:1;
+ uint8_t linkAuthEnabled:1;
+ uint8_t accessCallback:1;
+ uint8_t reserved:1;
#endif
#if BYTE_ORDER == BIG_ENDIAN
- uint8_t reserved : 1;
- uint8_t accessCallback : 1;
- uint8_t linkAuthEnabled : 1;
- uint8_t ipmiEnabled : 1;
- uint8_t privilege : 4;
+ uint8_t reserved:1;
+ uint8_t accessCallback:1;
+ uint8_t linkAuthEnabled:1;
+ uint8_t ipmiEnabled:1;
+ uint8_t privilege:4;
#endif
} __attribute__((packed));
diff --git a/user_channel/user_mgmt.cpp b/user_channel/user_mgmt.cpp
index 017b8f6..4ec61d5 100644
--- a/user_channel/user_mgmt.cpp
+++ b/user_channel/user_mgmt.cpp
@@ -1664,7 +1664,7 @@
sdbusplus::bus::match::rules::path(userMgrObjBasePath),
[&](sdbusplus::message_t& msg) {
userUpdatedSignalHandler(*this, msg);
- });
+ });
userMgrRenamedSignal = std::make_unique<sdbusplus::bus::match_t>(
bus,
sdbusplus::bus::match::rules::type::signal() +
@@ -1672,7 +1672,7 @@
sdbusplus::bus::match::rules::path(userMgrObjBasePath),
[&](sdbusplus::message_t& msg) {
userUpdatedSignalHandler(*this, msg);
- });
+ });
userPropertiesSignal = std::make_unique<sdbusplus::bus::match_t>(
bus,
sdbusplus::bus::match::rules::type::signal() +
@@ -1683,7 +1683,7 @@
sdbusplus::bus::match::rules::argN(0, usersInterface),
[&](sdbusplus::message_t& msg) {
userUpdatedSignalHandler(*this, msg);
- });
+ });
signalHndlrObject = true;
}
std::map<DbusUserObjPath, DbusUserObjValue> managedObjs;