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: If66f68c96df4baf8dc07abf8729a3cb7657e932d
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/phosphor-regulators/test/device_tests.cpp b/phosphor-regulators/test/device_tests.cpp
index 0c43b1e..d5fdf74 100644
--- a/phosphor-regulators/test/device_tests.cpp
+++ b/phosphor-regulators/test/device_tests.cpp
@@ -74,8 +74,8 @@
std::vector<std::unique_ptr<Rule>> rules{};
std::vector<std::unique_ptr<Chassis>> chassisVec{};
chassisVec.emplace_back(std::move(chassis));
- this->system =
- std::make_unique<System>(std::move(rules), std::move(chassisVec));
+ this->system = std::make_unique<System>(std::move(rules),
+ std::move(chassisVec));
}
protected:
@@ -456,8 +456,8 @@
EXPECT_CALL(*action, execute).Times(0);
std::vector<std::unique_ptr<Action>> actions{};
actions.emplace_back(std::move(action));
- configuration =
- std::make_unique<Configuration>(volts, std::move(actions));
+ configuration = std::make_unique<Configuration>(volts,
+ std::move(actions));
}
// Create Device
@@ -517,8 +517,8 @@
std::make_unique<Configuration>(volts, std::move(actions));
// Create Rail
- auto rail =
- std::make_unique<Rail>("vdd0", std::move(configuration));
+ auto rail = std::make_unique<Rail>("vdd0",
+ std::move(configuration));
rails.emplace_back(std::move(rail));
}
@@ -534,8 +534,8 @@
std::make_unique<Configuration>(volts, std::move(actions));
// Create Rail
- auto rail =
- std::make_unique<Rail>("vio0", std::move(configuration));
+ auto rail = std::make_unique<Rail>("vio0",
+ std::move(configuration));
rails.emplace_back(std::move(rail));
}