LLDB  mainline
Classes | Namespaces | Functions
VectorType.cpp File Reference
#include "lldb/DataFormatters/VectorType.h"
#include "lldb/Core/ValueObject.h"
#include "lldb/DataFormatters/FormattersHelpers.h"
#include "lldb/Symbol/CompilerType.h"
#include "lldb/Symbol/TypeSystem.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/LLDBAssert.h"
Include dependency graph for VectorType.cpp:

Go to the source code of this file.

Classes

class  lldb_private::formatters::VectorTypeSyntheticFrontEnd
 

Namespaces

 lldb_private
 Enumerations for broadcasting.
 
 lldb_private::formatters
 

Functions

static CompilerType GetCompilerTypeForFormat (lldb::Format format, CompilerType element_type, TypeSystem *type_system)
 
static lldb::Format GetItemFormatForFormat (lldb::Format format, CompilerType element_type)
 
static size_t CalculateNumChildren (CompilerType container_type, CompilerType element_type, lldb_private::ExecutionContextScope *exe_scope=nullptr)
 

Function Documentation

◆ CalculateNumChildren()

static size_t CalculateNumChildren ( CompilerType  container_type,
CompilerType  element_type,
lldb_private::ExecutionContextScope exe_scope = nullptr 
)
static

◆ GetCompilerTypeForFormat()

static CompilerType GetCompilerTypeForFormat ( lldb::Format  format,
CompilerType  element_type,
TypeSystem type_system 
)
static

Definition at line 23 of file VectorType.cpp.

References lldb::eBasicTypeBool, lldb::eBasicTypeChar, lldb::eBasicTypeFloat, lldb::eBasicTypeFloatComplex, lldb::eBasicTypeInt, lldb::eBasicTypeUnsignedInt, lldb::eEncodingIEEE754, lldb::eEncodingSint, lldb::eEncodingUint, lldb::eFormatAddressInfo, lldb::eFormatBinary, lldb::eFormatBoolean, lldb::eFormatBytes, lldb::eFormatBytesWithASCII, lldb::eFormatChar, lldb::eFormatCharArray, lldb::eFormatCharPrintable, lldb::eFormatComplex, lldb::eFormatComplexInteger, lldb::eFormatCString, lldb::eFormatDecimal, lldb::eFormatDefault, lldb::eFormatEnum, lldb::eFormatFloat, lldb::eFormatHex, lldb::eFormatHexFloat, lldb::eFormatHexUppercase, lldb::eFormatInstruction, lldb::eFormatOctal, lldb::eFormatOSType, lldb::eFormatPointer, lldb::eFormatUnicode16, lldb::eFormatUnicode32, lldb::eFormatUnsigned, lldb::eFormatVectorOfChar, lldb::eFormatVectorOfFloat32, lldb::eFormatVectorOfFloat64, lldb::eFormatVectorOfSInt16, lldb::eFormatVectorOfSInt32, lldb::eFormatVectorOfSInt64, lldb::eFormatVectorOfSInt8, lldb::eFormatVectorOfUInt128, lldb::eFormatVectorOfUInt16, lldb::eFormatVectorOfUInt32, lldb::eFormatVectorOfUInt64, lldb::eFormatVectorOfUInt8, lldb::eFormatVoid, lldb_private::TypeSystem::GetBasicTypeFromAST(), lldb_private::TypeSystem::GetBuiltinTypeForEncodingAndBitSize(), lldb_private::TypeSystem::GetPointerByteSize(), lldb_private::CompilerType::GetPointerType(), and lldbassert.

Referenced by lldb_private::formatters::VectorTypeSyntheticFrontEnd::Update().

◆ GetItemFormatForFormat()

static lldb::Format GetItemFormatForFormat ( lldb::Format  format,
CompilerType  element_type 
)
static