PandA-2024.02
|
#include <type_casting.hpp>
Public Member Functions | |
type_casting (TreeNodeConstSet &_types) | |
default constructor More... | |
void | operator() (const mem_ref *obj, unsigned int &mask) override |
Header include. More... | |
void | operator() (const indirect_ref *obj, unsigned int &mask) override |
Public Member Functions inherited from object_visitor | |
virtual | ~object_visitor () |
destructor More... | |
BOOST_PP_SEQ_FOR_EACH (OPERATOR_MACRO, BOOST_PP_EMPTY, VISITED_OBJ_SEQ1) | |
virtual template object functor More... | |
BOOST_PP_SEQ_FOR_EACH (OPERATOR_MACRO, BOOST_PP_EMPTY, VISITED_OBJ_SEQ2) | |
Private Attributes | |
TreeNodeConstSet & | types |
tree_node visitors More... | |
CustomUnorderedSet< unsigned int > | visited |
already visited More... | |
Definition at line 90 of file type_casting.hpp.
|
inlineexplicit |
default constructor
Definition at line 93 of file type_casting.hpp.
References object_visitor::BOOST_PP_SEQ_FOR_EACH(), LOCAL_OBJ_NOT_SPECIALIZED_SEQ, OBJ_SPECIALIZED_SEQ, operator()(), OPERATOR_MACRO_DECLO, and OPERATOR_MACROO.
|
override |
Header include.
Tree include
Definition at line 54 of file type_casting.cpp.
References NO_VISIT, types, and visited.
Referenced by operator()(), and type_casting().
|
override |
Definition at line 67 of file type_casting.cpp.
References tree_helper::CGetType(), tree_node::get_kind(), tree_node::index, NO_VISIT, unary_expr::op, operator()(), expr_node::type, types, and visited.
|
private |
tree_node visitors
set of types used in type casting
Definition at line 106 of file type_casting.hpp.
Referenced by operator()().
|
private |