clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: Iedf0879cec3cb06c254cf2737c9e365b8882818b
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/hypervisor_state_manager.hpp b/hypervisor_state_manager.hpp
index ae43a3f..23e0979 100644
--- a/hypervisor_state_manager.hpp
+++ b/hypervisor_state_manager.hpp
@@ -55,12 +55,12 @@
{}
/** @brief Set value of HostTransition */
- server::Host::Transition
- requestedHostTransition(server::Host::Transition value) override;
+ server::Host::Transition requestedHostTransition(
+ server::Host::Transition value) override;
/** @brief Set value of CurrentHostState */
- server::Host::HostState
- currentHostState(server::Host::HostState value) override;
+ server::Host::HostState currentHostState(
+ server::Host::HostState value) override;
/** @brief Return value of CurrentHostState */
server::Host::HostState currentHostState() const override;