LIEF: Library to Instrument Executable Formats Version 0.16.0
|
This class represents a DW_TAG_const_type
More...
#include <Const.hpp>
Public Member Functions | |
const Type * | underlying_type () const |
The underlying type being const-ed. | |
const Type * | operator-> () const |
const Type & | operator* () const |
~Const () override | |
![]() | |
virtual | ~Type () |
KIND | kind () const |
bool | is_unspecified () const |
Whether this type is a DW_TAG_unspecified_type | |
result< std::string > | name () const |
Return the type's name (if any) | |
result< uint64_t > | size () const |
Return the size of the type or an error if it can't be computed. | |
debug_location_t | location () const |
Return the debug location where this type is defined. | |
std::unique_ptr< Scope > | scope () const |
Return the scope in which this type is defined. | |
template<class T > | |
const T * | as () const |
Static Public Member Functions | |
static bool | classof (const Type *type) |
![]() | |
static std::unique_ptr< Type > | create (std::unique_ptr< details::Type > impl) |
Additional Inherited Members | |
![]() | |
enum class | KIND { UNKNOWN = 0 , UNSPECIFIED , BASE , CONST_KIND , CLASS , ARRAY , POINTER , STRUCT , UNION } |
This class represents a DW_TAG_const_type
|
override |
|
inlinestatic |
References LIEF::dwarf::Type::kind().
|
inline |
|
inline |
const Type * LIEF::dwarf::types::Const::underlying_type | ( | ) | const |
The underlying type being const-ed.