clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: Ia345e01e8569ea61e2d45fec9a2e8e586b5fedf6
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/.clang-format b/.clang-format
index a75a2c2..e5530e6 100644
--- a/.clang-format
+++ b/.clang-format
@@ -104,7 +104,7 @@
PenaltyBreakString: 1000
PenaltyBreakTemplateDeclaration: 10
PenaltyExcessCharacter: 1000000
-PenaltyReturnTypeOnItsOwnLine: 60
+PenaltyReturnTypeOnItsOwnLine: 150
PenaltyIndentedWhitespace: 1
PointerAlignment: Left
QualifierAlignment: Left
diff --git a/src/main.cpp b/src/main.cpp
index ff72874..46e46df 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -65,8 +65,8 @@
socketObjPath
};
-std::tuple<std::string, UnitType, std::string>
- getUnitNameTypeAndInstance(const std::string& fullUnitName)
+std::tuple<std::string, UnitType, std::string> getUnitNameTypeAndInstance(
+ const std::string& fullUnitName)
{
UnitType type = UnitType::invalid;
std::string instanceName;