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-manager/reader_impl.cpp b/vpd-manager/reader_impl.cpp
index b1f16b1..92f6a91 100644
--- a/vpd-manager/reader_impl.cpp
+++ b/vpd-manager/reader_impl.cpp
@@ -4,13 +4,14 @@
#include "ibm_vpd_utils.hpp"
-#include <algorithm>
#include <com/ibm/VPD/error.hpp>
-#include <map>
#include <phosphor-logging/elog-errors.hpp>
-#include <vector>
#include <xyz/openbmc_project/Common/error.hpp>
+#include <algorithm>
+#include <map>
+#include <vector>
+
#ifdef ManagerTest
#include "reader_test.hpp"
#endif
@@ -112,8 +113,8 @@
for_each(range.first, range.second,
[&inventoryPaths](
const inventory::LocationCodeMap::value_type& mappedItem) {
- inventoryPaths.push_back(INVENTORY_PATH + mappedItem.second);
- });
+ inventoryPaths.push_back(INVENTORY_PATH + mappedItem.second);
+ });
return inventoryPaths;
}
@@ -188,8 +189,8 @@
{
std::string tm{};
// read TM kwd value
- tm =
- utilObj.readBusProperty(SYSTEM_OBJECT, "com.ibm.ipzvpd.VSYS", "TM");
+ tm = utilObj.readBusProperty(SYSTEM_OBJECT, "com.ibm.ipzvpd.VSYS",
+ "TM");
;
// check if the substr matches to TM kwd