7 #ifndef RETDEC_CHAR_TYPE_H
8 #define RETDEC_CHAR_TYPE_H
34 static std::shared_ptr<CharTypeNode>
create(
39 std::string
typeName()
const override;
43 void printLeft(std::ostream &s)
const override;
Representation of built-in types in borland AST.
Node for representation of built-in types. Used for types: void, bool, char16_t, char32_t and wchar_t...
Definition: built_in_type.h:22
Representation of char types.
Definition: char_type.h:32
ThreeStateSignedness _signedness
Definition: char_type.h:51
void printLeft(std::ostream &s) const override
Prints text representation of char type with qualifiers to output stream.
Definition: char_type.cpp:70
ThreeStateSignedness signedness()
Definition: char_type.cpp:62
static std::shared_ptr< CharTypeNode > create(Context &context, ThreeStateSignedness signedness, const Qualifiers &quals)
Function for creating char types. If type the same type was already created, then that instance is re...
Definition: char_type.cpp:32
CharTypeNode(ThreeStateSignedness signedness, const Qualifiers &quals)
Private constructor for Char types. Use create().
Definition: char_type.cpp:18
std::string typeName() const override
Definition: char_type.cpp:47
Storage for functions, types and names. Used for cacheing.
Definition: context.h:38
Definition: qualifiers.h:20
Qualifiers quals()
Definition: type_node.cpp:23
ThreeStateSignedness
Signedness used for chars. Chars can be signed char, unsigned char and char, which are by standard di...
Definition: char_type.h:22
Definition: archive_wrapper.h:19