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: I4530f5b9df4f5898e26a2eef7efcf82e9728197f
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/test/test_item_updater_static.cpp b/test/test_item_updater_static.cpp
index 80c2fd2..55a9a70 100644
--- a/test/test_item_updater_static.cpp
+++ b/test/test_item_updater_static.cpp
@@ -112,13 +112,13 @@
// Verify the it does not crash on malformed texts
constexpr auto info =
"0x0308a000..0x0308f000(actual=0x00005000)"
- "[E-----F-CV]\n" // missing ID and name with F
+ "[E-----F-CV]\n" // missing ID and name with F
"ID=27 HB_VOLATILE 0x0308a000..0x0308f000 (actual=0x00005000) "
- "E-----F-CV]\n" // missing [
+ "E-----F-CV]\n" // missing [
"ID=22 ATTR_PERM 0x02d20000..0x02d28000 (actual=0x00008000) "
- "[E-----F-C-]\n" // The only valid one
+ "[E-----F-C-]\n" // The only valid one
"ID=28 MEMD 0x0308f000..0x0309d000 (actual=0x0000e000) "
- "[----]\n" // missing flags
+ "[----]\n" // missing flags
"SBKT 0x0309d000..0x030a1000 (actual=0x00004000) "
"[EL--R-----]\n"; // missing ID
diff --git a/test/test_signature.cpp b/test/test_signature.cpp
index f852382..8cfe897 100644
--- a/test/test_signature.cpp
+++ b/test/test_signature.cpp
@@ -71,8 +71,8 @@
command("openssl rsa -in " + pkeyFile + " -outform PEM " +
"-pubout -out " + pubkeyFile);
- std::string pubKeyConfFile =
- signedConfPNORPath.string() + "/" + "publickey";
+ std::string pubKeyConfFile = signedConfPNORPath.string() + "/" +
+ "publickey";
command("cp " + pubkeyFile + " " + signedConfPNORPath.string());
command(opensslCmd + pkeyFile + " -out " + pnorFile + ".sig " +
pnorFile);
diff --git a/test/test_version.cpp b/test/test_version.cpp
index 523b52a..448d95e 100644
--- a/test/test_version.cpp
+++ b/test/test_version.cpp
@@ -12,7 +12,6 @@
/** @brief Make sure we correctly get the Id from getId()*/
TEST(VersionTest, TestGetId)
{
-
auto version = "test-id";
unsigned char digest[EVP_MAX_MD_SIZE];
unsigned int digest_count = 0;
@@ -49,8 +48,8 @@
"\tsbe-cf61dc3\n"
"\thcode-hw123119a.930";
- const auto& [version, extendedVersion] =
- Version::getVersions(versionString);
+ const auto& [version,
+ extendedVersion] = Version::getVersions(versionString);
EXPECT_EQ(version, "open-power-romulus-v2.2-rc1-48-g268344f-dirty");
EXPECT_EQ(extendedVersion, "buildroot-2018.11.1-7-g5d7cc8c,"
"skiboot-v6.2,"