The Road to Clang-Format part 1
Whitespace: The Darkening
Change-Id: I9c0c355ddf22f9b27763c97e3e85079c135ae7a7
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
diff --git a/src/isolator/hei_isolation_node.hpp b/src/isolator/hei_isolation_node.hpp
index eaf18e5..3fc8a37 100644
--- a/src/isolator/hei_isolation_node.hpp
+++ b/src/isolator/hei_isolation_node.hpp
@@ -42,8 +42,8 @@
* @param i_hwReg A reference to the HardwareRegister targeted for
* isolation.
*/
- explicit IsolationNode( const HardwareRegister & i_hwReg ) :
- iv_hwReg( i_hwReg )
+ explicit IsolationNode(const HardwareRegister & i_hwReg) :
+ iv_hwReg(i_hwReg)
{}
/** @brief Destructor. */
@@ -60,7 +60,7 @@
*
* Needed by Flyweight class, but should not be allowed in general.
*/
- IsolationNode( const IsolationNode & ) = default;
+ IsolationNode(const IsolationNode &) = default;
/**
* @brief Explicitly disables assignment operator.
@@ -69,7 +69,7 @@
* of the constant instance variables, but helps communicate it is not
* allowed.
*/
- IsolationNode & operator=( const IsolationNode & ) = delete;
+ IsolationNode & operator=(const IsolationNode &) = delete;
private: // Instance variables
@@ -111,8 +111,8 @@
* @return True, if any active attentions found on this register.
* False, otherwise.
*/
- bool analyze( const Chip & i_chip, AttentionType_t i_attnType,
- IsolationData & io_isoData ) const;
+ bool analyze(const Chip & i_chip, AttentionType_t i_attnType,
+ IsolationData & io_isoData) const;
// TODO: The next two functions are only intended to be used during
// initialization of the isolator. Consider, making them private and
@@ -129,7 +129,7 @@
* @param The target attention type.
* @param The rule for this attention type.
*/
- void addRule( AttentionType_t i_attnType, const Register * i_rule );
+ void addRule(AttentionType_t i_attnType, const Register * i_rule);
/**
* @brief Adds a child register to analyze for the given bit in this
@@ -141,22 +141,22 @@
* @param The target bit on this register.
* @param The child register to analyze for the given bit.
*/
- void addChild( RegisterBit_t i_bit, const IsolationNode * i_child );
+ void addChild(RegisterBit_t i_bit, const IsolationNode * i_child);
public: // Operators
/** @brief Equals operator. */
- bool operator==( const IsolationNode & i_r ) const
+ bool operator==(const IsolationNode & i_r) const
{
// iv_hwReg should be unique per IsolationNode.
- return ( iv_hwReg == i_r.iv_hwReg );
+ return (iv_hwReg == i_r.iv_hwReg);
}
/** @brief Less than operator. */
- bool operator<( const IsolationNode & i_r ) const
+ bool operator<(const IsolationNode & i_r) const
{
// iv_hwReg should be unique per IsolationNode.
- return ( iv_hwReg < i_r.iv_hwReg );
+ return (iv_hwReg < i_r.iv_hwReg);
}
private: // Isolation stack and supporting functions.
@@ -187,4 +187,3 @@
};
} // end namespace libhei
-