Polly 20.0.0git
|
#include <cpp.h>
Public Member Functions | |
ConversionMethod (const Method &method, const std::string &this_type, const std::function< clang::ParmVarDecl *(int pos)> &get_param) | |
ConversionMethod (const Method &method, const std::string &this_type) | |
ConversionMethod (const Method &method, const std::function< clang::ParmVarDecl *(int pos)> &get_param) | |
virtual clang::ParmVarDecl * | get_param (int pos) const override |
void | print_call (std::ostream &os, const std::string &ns) const |
Public Member Functions inherited from NoCopyMethod | |
NoCopyMethod (const Method &method) | |
virtual bool | param_needs_copy (int pos) const override |
Public Member Functions inherited from Method | |
Method (const isl_class &clazz, FunctionDecl *fd, const std::string &name) | |
Method (const isl_class &clazz, FunctionDecl *fd) | |
int | c_num_params () const |
virtual int | num_params () const |
virtual bool | param_needs_copy (int pos) const |
virtual clang::ParmVarDecl * | get_param (int pos) const |
virtual void | print_param_use (ostream &os, int pos) const |
bool | is_subclass_mutator () const |
void | on_fd_arg_list (int start, int end, const list_combiner &combiner, const std::function< void(int i, int arg)> &on_arg) const |
void | print_fd_arg_list (std::ostream &os, int start, int end, const std::function< void(int i, int arg)> &print_arg) const |
void | on_cpp_arg_list (const list_combiner &combiner, const std::function< void(int i, int arg)> &on_arg) const |
void | on_cpp_arg_list (const std::function< void(int i, int arg)> &on_arg) const |
void | print_cpp_arg_list (std::ostream &os, const std::function< void(int i, int arg)> &print_arg) const |
Public Attributes | |
const std::string | this_type |
const std::function< clang::ParmVarDecl *(int pos)> | get_param_fn |
Public Attributes inherited from Method | |
const isl_class & | clazz |
FunctionDecl *const | fd |
const std::string | name |
enum Kind | kind |
const std::vector< ParmVarDecl * > | callbacks |
Additional Inherited Members | |
Public Types inherited from Method | |
enum | Kind { static_method , member_method , constructor } |
Static Public Member Functions inherited from Method | |
static list_combiner | print_combiner (std::ostream &os) |
static list_combiner | empty_combiner () |
static void | on_arg_list (int start, int end, const list_combiner &combiner, const std::function< bool(int i)> &on_arg_skip_next) |
static void | print_arg_list (std::ostream &os, int start, int end, const std::function< bool(int i)> &print_arg_skip_next) |
ConversionMethod::ConversionMethod | ( | const Method & | method, |
const std::string & | this_type | ||
) |
Definition at line 1202 of file cpp.cc.
References Method::get_param(), and pos().
|
overridevirtual |
Reimplemented from Method.
Definition at line 1244 of file cpp.cc.
References get_param_fn, and pos().
Referenced by plain_cpp_generator::impl_printer::print_method().
void ConversionMethod::print_call | ( | std::ostream & | os, |
const std::string & | ns | ||
) | const |
Definition at line 1256 of file cpp.cc.
References Method::clazz, Method::name, isl_class::name, this_type, and cpp_generator::type2cpp().
Referenced by plain_cpp_generator::impl_printer::print_method().
const std::function<clang::ParmVarDecl *(int pos)> ConversionMethod::get_param_fn |
Definition at line 108 of file cpp.h.
Referenced by get_param().
const std::string ConversionMethod::this_type |
Definition at line 107 of file cpp.h.
Referenced by print_call().