diff options
Diffstat (limited to 'lldb/tools/lldb-mi/MICmnMIValue.cpp')
-rw-r--r-- | lldb/tools/lldb-mi/MICmnMIValue.cpp | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/lldb/tools/lldb-mi/MICmnMIValue.cpp b/lldb/tools/lldb-mi/MICmnMIValue.cpp index d5895d70099..6907b9e19ad 100644 --- a/lldb/tools/lldb-mi/MICmnMIValue.cpp +++ b/lldb/tools/lldb-mi/MICmnMIValue.cpp @@ -11,7 +11,8 @@ #include "MICmnMIValue.h" #include "MICmnResources.h" -//++ ------------------------------------------------------------------------------------ +//++ +//------------------------------------------------------------------------------------ // Details: CMICmnMIValue constructor. // Type: Method. // Args: None. @@ -19,34 +20,28 @@ // Throws: None. //-- CMICmnMIValue::CMICmnMIValue() - : m_strValue(MIRSRC(IDS_WORD_INVALIDBRKTS)) - , m_bJustConstructed(true) -{ -} + : m_strValue(MIRSRC(IDS_WORD_INVALIDBRKTS)), m_bJustConstructed(true) {} -//++ ------------------------------------------------------------------------------------ +//++ +//------------------------------------------------------------------------------------ // Details: CMICmnMIValue destructor. // Type: Overrideable. // Args: None. // Return: None. // Throws: None. //-- -CMICmnMIValue::~CMICmnMIValue() -{ -} +CMICmnMIValue::~CMICmnMIValue() {} -//++ ------------------------------------------------------------------------------------ +//++ +//------------------------------------------------------------------------------------ // Details: Return the MI value as a string. The string is a direct result of // work done on *this value so if not enough data is added then it is // possible to return a malformed value. If nothing has been set or -// added to *this MI value object then text "<Invalid>" will be returned. +// added to *this MI value object then text "<Invalid>" will be +// returned. // Type: Method. // Args: None. // Return: CMIUtilString & - MI output text. // Throws: None. //-- -const CMIUtilString & -CMICmnMIValue::GetString() const -{ - return m_strValue; -} +const CMIUtilString &CMICmnMIValue::GetString() const { return m_strValue; } |