clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I71c8504caaa31ac43ae0f20c002ed081078e3f48
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/perform_scan.cpp b/src/perform_scan.cpp
index f866b32..73df57d 100644
--- a/src/perform_scan.cpp
+++ b/src/perform_scan.cpp
@@ -28,9 +28,9 @@
// NOLINTBEGIN(cppcoreguidelines-avoid-non-const-global-variables)
extern std::shared_ptr<sdbusplus::asio::connection> systemBus;
extern nlohmann::json lastJson;
-extern void
- propertiesChangedCallback(nlohmann::json& systemConfiguration,
- sdbusplus::asio::object_server& objServer);
+extern void propertiesChangedCallback(
+ nlohmann::json& systemConfiguration,
+ sdbusplus::asio::object_server& objServer);
// NOLINTEND(cppcoreguidelines-avoid-non-const-global-variables)
using GetSubTreeType = std::vector<
@@ -46,10 +46,10 @@
std::string interface;
};
-void
- getInterfaces(const DBusInterfaceInstance& instance,
- const std::vector<std::shared_ptr<PerformProbe>>& probeVector,
- const std::shared_ptr<PerformScan>& scan, size_t retries = 5)
+void getInterfaces(
+ const DBusInterfaceInstance& instance,
+ const std::vector<std::shared_ptr<PerformProbe>>& probeVector,
+ const std::shared_ptr<PerformScan>& scan, size_t retries = 5)
{
if (retries == 0U)
{
@@ -108,10 +108,10 @@
dbusMatches.emplace(path, std::move(match));
}
-static void
- processDbusObjects(std::vector<std::shared_ptr<PerformProbe>>& probeVector,
- const std::shared_ptr<PerformScan>& scan,
- const GetSubTreeType& interfaceSubtree)
+static void processDbusObjects(
+ std::vector<std::shared_ptr<PerformProbe>>& probeVector,
+ const std::shared_ptr<PerformScan>& scan,
+ const GetSubTreeType& interfaceSubtree)
{
for (const auto& [path, object] : interfaceSubtree)
{