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: I27b0d1357211259edb6ec2776924729052f238d6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/util/pdbg.cpp b/util/pdbg.cpp
index ab0b429..1ed25b0 100644
--- a/util/pdbg.cpp
+++ b/util/pdbg.cpp
@@ -222,19 +222,19 @@
// Rainier 4U
case util::dbus::MachineType::Rainier_2S4U:
case util::dbus::MachineType::Rainier_1S4U:
- filePath =
- fs::path{PACKAGE_DIR "util-data/peer-targets-rainier-4u.json"};
+ filePath = fs::path{PACKAGE_DIR
+ "util-data/peer-targets-rainier-4u.json"};
break;
// Rainier 2U
case util::dbus::MachineType::Rainier_2S2U:
case util::dbus::MachineType::Rainier_1S2U:
- filePath =
- fs::path{PACKAGE_DIR "util-data/peer-targets-rainier-2u.json"};
+ filePath = fs::path{PACKAGE_DIR
+ "util-data/peer-targets-rainier-2u.json"};
break;
// Everest
case util::dbus::MachineType::Everest:
- filePath =
- fs::path{PACKAGE_DIR "util-data/peer-targets-everest.json"};
+ filePath = fs::path{PACKAGE_DIR
+ "util-data/peer-targets-everest.json"};
break;
default:
trace::err("Invalid machine type found %d",
@@ -247,8 +247,8 @@
try
{
- auto trgtMap = nlohmann::json::parse(file);
- std::string rxPath = util::pdbg::getPath(i_rxTarget);
+ auto trgtMap = nlohmann::json::parse(file);
+ std::string rxPath = util::pdbg::getPath(i_rxTarget);
std::string peerPath = trgtMap.at(rxPath).get<std::string>();
o_peerTarget = util::pdbg::getTrgt(peerPath);
@@ -271,7 +271,7 @@
pdbg_target* txTarget = nullptr;
- auto rxType = util::pdbg::getTrgtType(i_rxTarget);
+ auto rxType = util::pdbg::getTrgtType(i_rxTarget);
std::string rxPath = util::pdbg::getPath(i_rxTarget);
if (callout::BusType::SMP_BUS == i_busType &&