clang-format: copy latest and re-format
clang-format-17 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: Ib52f953657f0c75fcf0ea191a7eadfbd8b94c917
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/cpuinfo_main.cpp b/src/cpuinfo_main.cpp
index c54cdb6..51ae848 100644
--- a/src/cpuinfo_main.cpp
+++ b/src/cpuinfo_main.cpp
@@ -290,7 +290,7 @@
"Cannot set CPU property!");
return;
}
- },
+ },
cpuProcessName, newProp.object.c_str(),
"org.freedesktop.DBus.Properties", "Set", newProp.interface,
newProp.name, std::variant<std::string>{newProp.value});
@@ -342,7 +342,7 @@
setDbusProperty(conn, cpu, prop);
}
}
- }));
+ }));
}
static void
@@ -557,7 +557,7 @@
getProcessorInfo(io, conn, cpu);
}
- },
+ },
service, object, "org.freedesktop.DBus.Properties", "GetAll",
interface);
}
@@ -596,7 +596,7 @@
}
getCpuConfiguration(io, conn, objServer);
});
- });
+ });
conn->async_method_call(
[&io, conn](
@@ -631,7 +631,7 @@
std::cerr << "getCpuConfiguration callback complete\n";
return;
- },
+ },
"xyz.openbmc_project.ObjectMapper",
"/xyz/openbmc_project/object_mapper",
"xyz.openbmc_project.ObjectMapper", "GetSubTree",