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: I07b444d4ae00b0fce52a846f2bff2e6b99fb971c
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/src/perform_probe.cpp b/src/perform_probe.cpp
index 04ba87d..1ef8bb2 100644
--- a/src/perform_probe.cpp
+++ b/src/perform_probe.cpp
@@ -51,8 +51,8 @@
auto deviceValue = interface.find(matchProp);
if (deviceValue != interface.end())
{
- deviceMatches =
- deviceMatches && matchProbe(matchJSON, deviceValue->second);
+ deviceMatches = deviceMatches &&
+ matchProbe(matchJSON, deviceValue->second);
}
else
{
@@ -193,8 +193,8 @@
ret = cur;
first = false;
}
- lastCommand =
- probeType ? (*probeType)->second : probe_type_codes::FALSE_T;
+ lastCommand = probeType ? (*probeType)->second
+ : probe_type_codes::FALSE_T;
}
// probe passed, but empty device