Polly 20.0.0git
|
#include <cstdarg>
#include <cstdio>
#include <iostream>
#include <map>
#include <memory>
#include <sstream>
#include <string>
#include <vector>
#include "plain_cpp.h"
#include "isl_config.h"
Go to the source code of this file.
Functions | |
static void | osprintf (ostream &os, const char *format, va_list arguments) |
static void | osprintf (ostream &os, const char *format,...) |
static void | osprintf (ostream &os, int indent, const char *format,...) |
static std::string | to_string (long l) |
static string | add_space_to_return_type (const string &type) |
static void | print_throw_last_error (ostream &os) |
static void | print_throw_invalid (ostream &os, int indent, const char *msg) |
static void | print_throw_NULL_input (ostream &os) |
static void | print_persistent_callback_exceptional_execution_check (ostream &os, const Method &method) |
static void | on_cplusplus17 (ostream &os, const std::function< void(void)> &fn) |
|
static |
Definition at line 535 of file plain_cpp.cc.
References type.
Referenced by plain_cpp_generator::plain_printer::print_persistent_callback_prototype().
|
static |
Definition at line 1845 of file plain_cpp.cc.
References fn.
Referenced by plain_cpp_generator::plain_printer::print_special_id().
|
static |
Definition at line 51 of file plain_cpp.cc.
References size.
Referenced by plain_cpp_generator::generate(), osprintf(), plain_cpp_generator::impl_printer::print_argument_validity_check(), plain_cpp_generator::impl_printer::print_callback_body(), plain_cpp_generator::plain_printer::print_callback_data_decl(), plain_cpp_generator::impl_printer::print_callback_local(), plain_cpp_generator::print_check_no_persistent_callback(), plain_cpp_generator::impl_printer::print_check_ptr(), plain_cpp_generator::impl_printer::print_check_ptr_end(), plain_cpp_generator::print_class(), plain_cpp_generator::impl_printer::print_class_factory(), plain_cpp_generator::decl_printer::print_class_factory(), plain_cpp_generator::print_class_forward_decl(), plain_cpp_generator::print_class_impl(), plain_cpp_generator::decl_printer::print_copy_assignment(), plain_cpp_generator::impl_printer::print_copy_assignment(), plain_cpp_generator::decl_printer::print_ctx(), plain_cpp_generator::impl_printer::print_ctx(), plain_cpp_generator::print_declarations(), plain_cpp_generator::decl_printer::print_destructor(), plain_cpp_generator::impl_printer::print_destructor(), plain_cpp_generator::decl_printer::print_downcast(), plain_cpp_generator::impl_printer::print_downcast(), plain_cpp_generator::impl_printer::print_exceptional_execution_check(), plain_cpp_generator::print_forward_declarations(), plain_cpp_generator::plain_printer::print_full_method_header(), plain_cpp_generator::impl_printer::print_get_method(), plain_cpp_generator::print_implementations(), plain_cpp_generator::print_invalid(), plain_cpp_generator::decl_printer::print_isa_type_template(), plain_cpp_generator::impl_printer::print_method(), plain_cpp_generator::impl_printer::print_method_return(), plain_cpp_generator::impl_printer::print_on_error_continue(), plain_cpp_generator::decl_printer::print_persistent_callback_data(), print_persistent_callback_exceptional_execution_check(), plain_cpp_generator::plain_printer::print_persistent_callback_prototype(), plain_cpp_generator::plain_printer::print_persistent_callback_setter_prototype(), plain_cpp_generator::decl_printer::print_persistent_callbacks(), plain_cpp_generator::impl_printer::print_persistent_callbacks(), plain_cpp_generator::decl_printer::print_protected_constructors(), plain_cpp_generator::impl_printer::print_protected_constructors(), plain_cpp_generator::decl_printer::print_ptr(), plain_cpp_generator::impl_printer::print_ptr(), plain_cpp_generator::decl_printer::print_public_constructors(), plain_cpp_generator::impl_printer::print_public_constructors(), plain_cpp_generator::impl_printer::print_set_persistent_callback(), plain_cpp_generator::impl_printer::print_stream_insertion(), plain_cpp_generator::decl_printer::print_subclass_type(), print_throw_invalid(), print_throw_last_error(), plain_cpp_generator::impl_printer::print_wrapped_call(), and plain_cpp_generator::impl_printer::print_wrapped_call_checked().
|
static |
Definition at line 71 of file plain_cpp.cc.
References osprintf().
|
static |
Definition at line 86 of file plain_cpp.cc.
References osprintf().
|
static |
Definition at line 1435 of file plain_cpp.cc.
References callback_name(), Method::clazz, Method::kind, Method::member_method, osprintf(), isl_class::persistent_callback_name(), and isl_class::persistent_callbacks.
Referenced by plain_cpp_generator::impl_printer::print_exceptional_execution_check().
|
static |
Definition at line 683 of file plain_cpp.cc.
References osprintf().
Referenced by plain_cpp_generator::print_invalid(), and print_throw_NULL_input().
|
static |
Definition at line 675 of file plain_cpp.cc.
References osprintf().
Referenced by plain_cpp_generator::impl_printer::print_check_ptr_end(), plain_cpp_generator::impl_printer::print_exceptional_execution_check(), and plain_cpp_generator::impl_printer::print_id_constructor_user().
|
static |
Definition at line 691 of file plain_cpp.cc.
References print_throw_invalid().
Referenced by plain_cpp_generator::impl_printer::print_argument_validity_check(), plain_cpp_generator::impl_printer::print_check_ptr(), and plain_cpp_generator::impl_printer::print_downcast().
|
static |
Definition at line 98 of file plain_cpp.cc.
Referenced by cpp_type_printer::generate_callback_args(), and plain_cpp_generator::impl_printer::print_callback_body().