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: I267a17e007b99caed10aef060e7dd9a0bcc5fc2e
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/targets.hpp b/targets.hpp
index a66a15b..515bf2e 100644
--- a/targets.hpp
+++ b/targets.hpp
@@ -7,12 +7,13 @@
#include <fmt/format.h>
-#include <filesystem>
-#include <memory>
#include <phosphor-logging/elog-errors.hpp>
#include <phosphor-logging/log.hpp>
#include <xyz/openbmc_project/Sensor/Device/error.hpp>
+#include <filesystem>
+#include <memory>
+
enum class targetType
{
DEFAULT,
@@ -98,8 +99,8 @@
entry = empty;
}
- sysfsFullPath =
- sysfs::make_sysfs_path(ioAccess->path(), targetName, targetId, entry);
+ sysfsFullPath = sysfs::make_sysfs_path(ioAccess->path(), targetName,
+ targetId, entry);
if (fs::exists(sysfsFullPath))
{
auto useTarget = true;