1 //===-- MICmnMIValue.cpp ----------------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 #include "MICmnMIValue.h"
11 #include "MICmnResources.h"
14 // Details: CMICmnMIValue constructor.
20 CMICmnMIValue::CMICmnMIValue()
21 : m_strValue(MIRSRC(IDS_WORD_INVALIDBRKTS)), m_bJustConstructed(true) {}
24 // Details: CMICmnMIValue destructor.
25 // Type: Overrideable.
30 CMICmnMIValue::~CMICmnMIValue() {}
33 // Details: Return the MI value as a string. The string is a direct result of
34 // work done on *this value so if not enough data is added then it is
35 // possible to return a malformed value. If nothing has been set or
36 // added to *this MI value object then text "<Invalid>" will be
40 // Return: CMIUtilString & - MI output text.
43 const CMIUtilString &CMICmnMIValue::GetString() const { return m_strValue; }