Polly 20.0.0git
|
#include <cpp.h>
Public Member Functions | |
cpp_type_printer () | |
virtual std::string | isl_bool () const |
virtual std::string | isl_stat () const |
virtual std::string | isl_size () const |
virtual std::string | isl_namespace () const |
virtual std::string | class_type (const std::string &cpp_name) const |
virtual std::string | qualified (int arg, const std::string &cpp_type) const |
std::string | isl_type (int arg, QualType type) const |
std::string | generate_callback_args (int arg, QualType type, bool cpp) const |
std::string | generate_callback_type (int arg, QualType type) const |
std::string | param (int arg, QualType type) const |
std::string | return_type (const Method &method) const |
|
virtual |
Reimplemented in template_method_type_printer.
Definition at line 821 of file cpp.cc.
Referenced by cpp_generator::class_printer::print_method_header().
std::string cpp_type_printer::generate_callback_args | ( | int | arg, |
QualType | type, | ||
bool | cpp | ||
) | const |
Definition at line 684 of file cpp.cc.
References arg, generator::extract_prototype(), to_string(), and type.
std::string cpp_type_printer::generate_callback_type | ( | int | arg, |
QualType | type | ||
) | const |
Definition at line 725 of file cpp.cc.
References arg, generator::extract_prototype(), and type.
|
virtual |
Reimplemented in checked_cpp_type_printer.
|
virtual |
Reimplemented in checked_cpp_type_printer.
Definition at line 812 of file cpp.cc.
Referenced by template_cpp_generator::add_template_class().
|
virtual |
Reimplemented in checked_cpp_type_printer.
|
virtual |
Reimplemented in checked_cpp_type_printer.
std::string cpp_type_printer::isl_type | ( | int | arg, |
QualType | type | ||
) | const |
std::string cpp_type_printer::param | ( | int | arg, |
QualType | type | ||
) | const |
Definition at line 851 of file cpp.cc.
References arg, generator::die(), generator::is_callback(), generator::is_isl_bool(), generator::is_isl_size(), generator::is_isl_stat(), generator::is_isl_type(), generator::is_string(), and type.
Referenced by plain_type(), print_callback_args(), and cpp_generator::class_printer::print_method_header().
|
virtual |
Reimplemented in template_cpp_type_printer, and plain_cpp_type_printer.
Definition at line 831 of file cpp.cc.
Referenced by template_cpp_type_printer::qualified().
std::string cpp_type_printer::return_type | ( | const Method & | method | ) | const |
Definition at line 554 of file cpp.cc.
References Method::clazz, Method::fd, Method::is_subclass_mutator(), and cpp_generator::type2cpp().
Referenced by cpp_generator::class_printer::print_method_header(), and template_cpp_generator::class_printer::print_return_type().