clang-format: copy latest and re-format
clang-format-16 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: Ia442cdc88aaeaab2f1384cc46a56f5cd5e40f2f5
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/vpd_tool_impl.cpp b/vpd_tool_impl.cpp
index 5870659..ca95c2a 100644
--- a/vpd_tool_impl.cpp
+++ b/vpd_tool_impl.cpp
@@ -4,10 +4,11 @@
#include "parser_factory.hpp"
#include "vpd_exceptions.hpp"
+#include <sdbusplus/bus.hpp>
+
#include <cstdlib>
#include <filesystem>
#include <iostream>
-#include <sdbusplus/bus.hpp>
#include <variant>
#include <vector>
@@ -128,8 +129,8 @@
}
else
{
- std::string err =
- vpdPath + " is not of type IPZ VPD. Unable to parse the VPD.";
+ std::string err = vpdPath +
+ " is not of type IPZ VPD. Unable to parse the VPD.";
throw std::runtime_error(err);
}
}
@@ -540,8 +541,8 @@
}
auto bus = sdbusplus::bus::new_default();
- auto properties =
- bus.new_method_call(BUSNAME, OBJPATH, IFACE, "WriteKeyword");
+ auto properties = bus.new_method_call(BUSNAME, OBJPATH, IFACE,
+ "WriteKeyword");
properties.append(static_cast<sdbusplus::message::object_path>(fruPath));
properties.append(recordName);
properties.append(keyword);
@@ -584,8 +585,7 @@
}
}
catch (const fs::filesystem_error& e)
- {
- }
+ {}
}
}
@@ -1146,4 +1146,4 @@
<< "\nManufacturing reset on system vpd keywords is unsuccessful";
}
return 0;
-}
\ No newline at end of file
+}