CPP_WChar_Type¶
- class CPP_WChar_Type (concrete, logical)¶
C++
wchar_t.- Direct parents:
inherits C_Character_Type_With_Base_Type
- Ancestor classes and implemented interfaces:
Basic_Type, C_Character_Type, C_Character_Type_With_Base_Type, Declarative_Node, Integer_Type, Logical_IR_Root, Member, Named_Entity, Named_Type, Symbol, Type
Field
Kind
Type
Description
Based_On (from C_Character_Type_With_Base_Type)
semantic
class Integer_Type
The underlying type on which this type is based. In particular, types like
wchar_tonly exist in C++, as in C they are merely typedefs. This edge thus allows cross-language checks for type compatibility.Min (from Integer_Type)
attribute
builtin Int_Literal_Type
Max (from Integer_Type)
attribute
builtin Int_Literal_Type
Size (from Type)
attribute
builtin Natural
Alignment_Log (from Type)
attribute
builtin Byte
log2 of the type’s alignment
Alignment (from Type)
attribute
builtin Natural
Alignment of the type (must be a power of 2)
Size_In_Bits (from Type)
attribute
builtin UInt64
Size of the type, in bits.
Parent (from Logical_IR_Root)
semantic
class Logical_IR_Root
Physical (from Logical_IR_Root)
semantic to physical
class Physical_IR_Root
Visibility (from Member)
attribute
enum Visibility_Type
Name (from Named_Entity)
attribute
builtin String