Fix Clang 20 build issues
It is observed that with recent change of clang to 20 there are some CI
build issues found on phosphor-user-manager based on readability and
style. I fixed the same
Change-Id: Ief2a902b9970c628b26e908b8c784efe9e524bf6
Signed-off-by: Chandramohan Harkude <chandramohan.harkude@gmail.com>
diff --git a/phosphor-ldap-config/ldap_config.hpp b/phosphor-ldap-config/ldap_config.hpp
index d3fa604..768cf5f 100644
--- a/phosphor-ldap-config/ldap_config.hpp
+++ b/phosphor-ldap-config/ldap_config.hpp
@@ -32,7 +32,7 @@
sdbusplus::server::object_t<ConfigIface, EnableIface, MapperIface>;
using ObjectPath = sdbusplus::message::object_path;
-namespace sdbusRule = sdbusplus::bus::match::rules;
+namespace sdbus_rule = sdbusplus::bus::match::rules;
class ConfigMgr;
class MockConfigMgr;
diff --git a/phosphor-ldap-config/ldap_mapper_entry.hpp b/phosphor-ldap-config/ldap_mapper_entry.hpp
index 93918b9..5d03793 100644
--- a/phosphor-ldap-config/ldap_mapper_entry.hpp
+++ b/phosphor-ldap-config/ldap_mapper_entry.hpp
@@ -10,7 +10,7 @@
namespace ldap
{
-namespace Base = sdbusplus::xyz::openbmc_project;
+namespace base = sdbusplus::xyz::openbmc_project;
using Entry =
sdbusplus::xyz::openbmc_project::User::server::PrivilegeMapperEntry;
using Delete = sdbusplus::xyz::openbmc_project::Object::server::Delete;