LLDB  mainline
Public Member Functions | List of all members
lldb_private::TaggedASTType< C > Class Template Reference

#include <TaggedASTType.h>

Inheritance diagram for lldb_private::TaggedASTType< C >:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::TaggedASTType< C >:
Collaboration graph
[legend]

Public Member Functions

 TaggedASTType (const CompilerType &compiler_type)
 
 TaggedASTType (lldb::opaque_compiler_type_t type, TypeSystem *type_system)
 
 TaggedASTType (const TaggedASTType< C > &tw)
 
 TaggedASTType ()
 
virtual ~TaggedASTType ()
 
TaggedASTType< C > & operator= (const TaggedASTType< C > &tw)
 
- Public Member Functions inherited from lldb_private::CompilerType
 CompilerType (TypeSystem *type_system, lldb::opaque_compiler_type_t type)
 
 CompilerType (clang::ASTContext *ast_context, clang::QualType qual_type)
 
 CompilerType (const CompilerType &rhs)
 
 CompilerType ()
 
 ~CompilerType ()
 
const CompilerTypeoperator= (const CompilerType &rhs)
 
 operator bool () const
 
bool operator< (const CompilerType &rhs) const
 
bool IsValid () const
 
bool IsArrayType (CompilerType *element_type, uint64_t *size, bool *is_incomplete) const
 
bool IsVectorType (CompilerType *element_type, uint64_t *size) const
 
bool IsArrayOfScalarType () const
 
bool IsAggregateType () const
 
bool IsAnonymousType () const
 
bool IsBeingDefined () const
 
bool IsCharType () const
 
bool IsCompleteType () const
 
bool IsConst () const
 
bool IsCStringType (uint32_t &length) const
 
bool IsDefined () const
 
bool IsFloatingPointType (uint32_t &count, bool &is_complex) const
 
bool IsFunctionType (bool *is_variadic_ptr=nullptr) const
 
uint32_t IsHomogeneousAggregate (CompilerType *base_type_ptr) const
 
size_t GetNumberOfFunctionArguments () const
 
CompilerType GetFunctionArgumentAtIndex (const size_t index) const
 
bool IsVariadicFunctionType () const
 
bool IsFunctionPointerType () const
 
bool IsBlockPointerType (CompilerType *function_pointer_type_ptr) const
 
bool IsIntegerType (bool &is_signed) const
 
bool IsEnumerationType (bool &is_signed) const
 
bool IsIntegerOrEnumerationType (bool &is_signed) const
 
bool IsPolymorphicClass () const
 
bool IsPossibleCPlusPlusDynamicType (CompilerType *target_type=nullptr) const
 
bool IsPossibleDynamicType (CompilerType *target_type, bool check_cplusplus, bool check_objc) const
 
bool IsPointerToScalarType () const
 
bool IsRuntimeGeneratedType () const
 
bool IsPointerType (CompilerType *pointee_type=nullptr) const
 
bool IsPointerOrReferenceType (CompilerType *pointee_type=nullptr) const
 
bool IsReferenceType (CompilerType *pointee_type=nullptr, bool *is_rvalue=nullptr) const
 
bool ShouldTreatScalarValueAsAddress () const
 
bool IsScalarType () const
 
bool IsTypedefType () const
 
bool IsVoidType () const
 
bool GetCompleteType () const
 
size_t GetPointerByteSize () const
 
TypeSystemGetTypeSystem () const
 
ConstString GetConstQualifiedTypeName () const
 
ConstString GetConstTypeName () const
 
ConstString GetTypeName () const
 
ConstString GetDisplayTypeName () const
 
uint32_t GetTypeInfo (CompilerType *pointee_or_element_compiler_type=nullptr) const
 
lldb::LanguageType GetMinimumLanguage ()
 
lldb::opaque_compiler_type_t GetOpaqueQualType () const
 
lldb::TypeClass GetTypeClass () const
 
void SetCompilerType (TypeSystem *type_system, lldb::opaque_compiler_type_t type)
 
void SetCompilerType (clang::ASTContext *ast, clang::QualType qual_type)
 
unsigned GetTypeQualifiers () const
 
CompilerType GetArrayElementType (uint64_t *stride=nullptr) const
 
CompilerType GetArrayType (uint64_t size) const
 
CompilerType GetCanonicalType () const
 
CompilerType GetFullyUnqualifiedType () const
 
int GetFunctionArgumentCount () const
 
CompilerType GetFunctionArgumentTypeAtIndex (size_t idx) const
 
CompilerType GetFunctionReturnType () const
 
size_t GetNumMemberFunctions () const
 
TypeMemberFunctionImpl GetMemberFunctionAtIndex (size_t idx)
 
CompilerType GetNonReferenceType () const
 
CompilerType GetPointeeType () const
 
CompilerType GetPointerType () const
 
CompilerType GetLValueReferenceType () const
 
CompilerType GetRValueReferenceType () const
 
CompilerType AddConstModifier () const
 
CompilerType AddVolatileModifier () const
 
CompilerType AddRestrictModifier () const
 
CompilerType CreateTypedef (const char *name, const CompilerDeclContext &decl_ctx) const
 
CompilerType GetTypedefedType () const
 
CompilerType GetBasicTypeFromAST (lldb::BasicType basic_type) const
 
llvm::Optional< uint64_t > GetByteSize (ExecutionContextScope *exe_scope) const
 Return the size of the type in bytes. More...
 
llvm::Optional< uint64_t > GetBitSize (ExecutionContextScope *exe_scope) const
 Return the size of the type in bits. More...
 
lldb::Encoding GetEncoding (uint64_t &count) const
 
lldb::Format GetFormat () const
 
size_t GetTypeBitAlign () const
 
uint32_t GetNumChildren (bool omit_empty_base_classes, const ExecutionContext *exe_ctx) const
 
lldb::BasicType GetBasicTypeEnumeration () const
 
void ForEachEnumerator (std::function< bool(const CompilerType &integer_type, ConstString name, const llvm::APSInt &value)> const &callback) const
 
uint32_t GetNumFields () const
 
CompilerType GetFieldAtIndex (size_t idx, std::string &name, uint64_t *bit_offset_ptr, uint32_t *bitfield_bit_size_ptr, bool *is_bitfield_ptr) const
 
uint32_t GetNumDirectBaseClasses () const
 
uint32_t GetNumVirtualBaseClasses () const
 
CompilerType GetDirectBaseClassAtIndex (size_t idx, uint32_t *bit_offset_ptr) const
 
CompilerType GetVirtualBaseClassAtIndex (size_t idx, uint32_t *bit_offset_ptr) const
 
uint32_t GetIndexOfFieldWithName (const char *name, CompilerType *field_compiler_type=nullptr, uint64_t *bit_offset_ptr=nullptr, uint32_t *bitfield_bit_size_ptr=nullptr, bool *is_bitfield_ptr=nullptr) const
 
CompilerType GetChildCompilerTypeAtIndex (ExecutionContext *exe_ctx, size_t idx, bool transparent_pointers, bool omit_empty_base_classes, bool ignore_array_bounds, std::string &child_name, uint32_t &child_byte_size, int32_t &child_byte_offset, uint32_t &child_bitfield_bit_size, uint32_t &child_bitfield_bit_offset, bool &child_is_base_class, bool &child_is_deref_of_parent, ValueObject *valobj, uint64_t &language_flags) const
 
uint32_t GetIndexOfChildWithName (const char *name, bool omit_empty_base_classes) const
 
size_t GetIndexOfChildMemberWithName (const char *name, bool omit_empty_base_classes, std::vector< uint32_t > &child_indexes) const
 
size_t GetNumTemplateArguments () const
 
lldb::TemplateArgumentKind GetTemplateArgumentKind (size_t idx) const
 
CompilerType GetTypeTemplateArgument (size_t idx) const
 
llvm::Optional< IntegralTemplateArgumentGetIntegralTemplateArgument (size_t idx) const
 
CompilerType GetTypeForFormatters () const
 
LazyBool ShouldPrintAsOneLiner (ValueObject *valobj) const
 
bool IsMeaninglessWithoutDynamicResolution () const
 
size_t ConvertStringToFloatValue (const char *s, uint8_t *dst, size_t dst_size) const
 
LLVM_DUMP_METHOD void dump () const
 Convenience LLVM-style dump method for use in the debugger only. More...
 
void DumpValue (ExecutionContext *exe_ctx, Stream *s, lldb::Format format, const DataExtractor &data, lldb::offset_t data_offset, size_t data_byte_size, uint32_t bitfield_bit_size, uint32_t bitfield_bit_offset, bool show_types, bool show_summary, bool verbose, uint32_t depth)
 
bool DumpTypeValue (Stream *s, lldb::Format format, const DataExtractor &data, lldb::offset_t data_offset, size_t data_byte_size, uint32_t bitfield_bit_size, uint32_t bitfield_bit_offset, ExecutionContextScope *exe_scope)
 
void DumpSummary (ExecutionContext *exe_ctx, Stream *s, const DataExtractor &data, lldb::offset_t data_offset, size_t data_byte_size)
 
void DumpTypeDescription () const
 
void DumpTypeDescription (Stream *s) const
 
bool GetValueAsScalar (const DataExtractor &data, lldb::offset_t data_offset, size_t data_byte_size, Scalar &value) const
 
bool SetValueFromScalar (const Scalar &value, Stream &strm)
 
bool ReadFromMemory (ExecutionContext *exe_ctx, lldb::addr_t addr, AddressType address_type, DataExtractor &data)
 
bool WriteToMemory (ExecutionContext *exe_ctx, lldb::addr_t addr, AddressType address_type, StreamString &new_value)
 
void Clear ()
 

Additional Inherited Members

- Static Public Member Functions inherited from lldb_private::CompilerType
static lldb::BasicType GetBasicTypeEnumeration (ConstString name)
 

Detailed Description

template<unsigned int C>
class lldb_private::TaggedASTType< C >

Definition at line 18 of file TaggedASTType.h.

Constructor & Destructor Documentation

◆ TaggedASTType() [1/4]

template<unsigned int C>
lldb_private::TaggedASTType< C >::TaggedASTType ( const CompilerType compiler_type)
inline

Definition at line 20 of file TaggedASTType.h.

◆ TaggedASTType() [2/4]

template<unsigned int C>
lldb_private::TaggedASTType< C >::TaggedASTType ( lldb::opaque_compiler_type_t  type,
TypeSystem type_system 
)
inline

Definition at line 23 of file TaggedASTType.h.

◆ TaggedASTType() [3/4]

template<unsigned int C>
lldb_private::TaggedASTType< C >::TaggedASTType ( const TaggedASTType< C > &  tw)
inline

Definition at line 26 of file TaggedASTType.h.

◆ TaggedASTType() [4/4]

template<unsigned int C>
lldb_private::TaggedASTType< C >::TaggedASTType ( )
inline

Definition at line 28 of file TaggedASTType.h.

◆ ~TaggedASTType()

template<unsigned int C>
virtual lldb_private::TaggedASTType< C >::~TaggedASTType ( )
inlinevirtual

Definition at line 30 of file TaggedASTType.h.

Member Function Documentation

◆ operator=()

template<unsigned int C>
TaggedASTType<C>& lldb_private::TaggedASTType< C >::operator= ( const TaggedASTType< C > &  tw)
inline

Definition at line 32 of file TaggedASTType.h.


The documentation for this class was generated from the following file: