diff options
Diffstat (limited to 'tools/lldb-mi/MICmnLLDBUtilSBValue.cpp')
-rw-r--r-- | tools/lldb-mi/MICmnLLDBUtilSBValue.cpp | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/tools/lldb-mi/MICmnLLDBUtilSBValue.cpp b/tools/lldb-mi/MICmnLLDBUtilSBValue.cpp index 5785bf2a6329..0e7df52b7b99 100644 --- a/tools/lldb-mi/MICmnLLDBUtilSBValue.cpp +++ b/tools/lldb-mi/MICmnLLDBUtilSBValue.cpp @@ -1,9 +1,8 @@ //===-- MICmnLLDBUtilSBValue.cpp --------------------------------*- C++ -*-===// // -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// @@ -22,7 +21,6 @@ static const char *kUnknownValue = "??"; static const char *kUnresolvedCompositeValue = "{...}"; //++ -//------------------------------------------------------------------------------------ // Details: CMICmnLLDBUtilSBValue constructor. // Type: Method. // Args: vrValue - (R) The LLDB value object. @@ -42,7 +40,6 @@ CMICmnLLDBUtilSBValue::CMICmnLLDBUtilSBValue( } //++ -//------------------------------------------------------------------------------------ // Details: CMICmnLLDBUtilSBValue destructor. // Type: Method. // Args: None. @@ -52,7 +49,6 @@ CMICmnLLDBUtilSBValue::CMICmnLLDBUtilSBValue( CMICmnLLDBUtilSBValue::~CMICmnLLDBUtilSBValue() {} //++ -//------------------------------------------------------------------------------------ // Details: Retrieve from the LLDB SB Value object the name of the variable. If // the name // is invalid (or the SBValue object invalid) then "??" is returned. @@ -69,7 +65,6 @@ CMIUtilString CMICmnLLDBUtilSBValue::GetName() const { } //++ -//------------------------------------------------------------------------------------ // Details: Retrieve from the LLDB SB Value object the value of the variable // described in // text. If the value is invalid (or the SBValue object invalid) then @@ -120,7 +115,6 @@ CMIUtilString CMICmnLLDBUtilSBValue::GetValue( } //++ -//------------------------------------------------------------------------------------ // Details: Retrieve from the LLDB SB Value object the value of the variable // described in // text if it has a simple format (not composite). @@ -247,7 +241,6 @@ CMICmnLLDBUtilSBValue::GetValueSummary(bool valueOnly, } //++ -//------------------------------------------------------------------------------------ // Details: Check that basic type is a char type. Char type can be signed or // unsigned. // Type: Static. @@ -269,7 +262,6 @@ bool CMICmnLLDBUtilSBValue::IsCharBasicType(lldb::BasicType eType) { } //++ -//------------------------------------------------------------------------------------ // Details: Retrieve the flag stating whether this value object is a char type // or some // other type. Char type can be signed or unsigned. @@ -284,7 +276,6 @@ bool CMICmnLLDBUtilSBValue::IsCharType() const { } //++ -//------------------------------------------------------------------------------------ // Details: Retrieve the flag stating whether first child value object of *this // object is // a char type or some other type. Returns false if there are not @@ -308,7 +299,6 @@ bool CMICmnLLDBUtilSBValue::IsFirstChildCharType() const { } //++ -//------------------------------------------------------------------------------------ // Details: Retrieve the flag stating whether pointee object of *this object is // a char type or some other type. Returns false if there are not // children. Char @@ -331,7 +321,6 @@ bool CMICmnLLDBUtilSBValue::IsPointeeCharType() const { } //++ -//------------------------------------------------------------------------------------ // Details: Retrieve the flag stating whether this value object is a integer // type or some // other type. Char type can be signed or unsigned and short or @@ -356,7 +345,6 @@ bool CMICmnLLDBUtilSBValue::IsIntegerType() const { } //++ -//------------------------------------------------------------------------------------ // Details: Retrieve the flag stating whether this value object is a pointer // type or some // other type. @@ -370,7 +358,6 @@ bool CMICmnLLDBUtilSBValue::IsPointerType() const { } //++ -//------------------------------------------------------------------------------------ // Details: Retrieve the flag stating whether this value object is an array type // or some // other type. @@ -384,7 +371,6 @@ bool CMICmnLLDBUtilSBValue::IsArrayType() const { } //++ -//------------------------------------------------------------------------------------ // Details: Retrieve the C string data of value object by read the memory where // the // variable is held. @@ -419,7 +405,6 @@ CMICmnLLDBUtilSBValue::ReadCStringFromHostMemory(lldb::SBValue &vrValue, } //++ -//------------------------------------------------------------------------------------ // Details: Retrieve the state of the value object's name. // Type: Method. // Args: None. @@ -432,7 +417,6 @@ bool CMICmnLLDBUtilSBValue::IsNameUnknown() const { } //++ -//------------------------------------------------------------------------------------ // Details: Retrieve the state of the value object's value data. // Type: Method. // Args: None. @@ -445,7 +429,6 @@ bool CMICmnLLDBUtilSBValue::IsValueUnknown() const { } //++ -//------------------------------------------------------------------------------------ // Details: Retrieve the value object's type name if valid. // Type: Method. // Args: None. @@ -460,7 +443,6 @@ CMIUtilString CMICmnLLDBUtilSBValue::GetTypeName() const { } //++ -//------------------------------------------------------------------------------------ // Details: Retrieve the value object's display type name if valid. // Type: Method. // Args: None. @@ -475,7 +457,6 @@ CMIUtilString CMICmnLLDBUtilSBValue::GetTypeNameDisplay() const { } //++ -//------------------------------------------------------------------------------------ // Details: Retrieve whether the value object's is valid or not. // Type: Method. // Args: None. @@ -485,7 +466,6 @@ CMIUtilString CMICmnLLDBUtilSBValue::GetTypeNameDisplay() const { bool CMICmnLLDBUtilSBValue::IsValid() const { return m_bValidSBValue; } //++ -//------------------------------------------------------------------------------------ // Details: Retrieve the value object' has a name. A value object can be valid // but still // have no name which suggest it is not a variable. @@ -506,7 +486,6 @@ bool CMICmnLLDBUtilSBValue::HasName() const { } //++ -//------------------------------------------------------------------------------------ // Details: Determine if the value object' represents a LLDB variable i.e. "$0". // Type: Method. // Args: None. |