summaryrefslogtreecommitdiffstats
path: root/polly/lib/External/isl/interface/cpp.h
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/External/isl/interface/cpp.h')
-rw-r--r--polly/lib/External/isl/interface/cpp.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/polly/lib/External/isl/interface/cpp.h b/polly/lib/External/isl/interface/cpp.h
index 32a378d8035..b46d37f4e52 100644
--- a/polly/lib/External/isl/interface/cpp.h
+++ b/polly/lib/External/isl/interface/cpp.h
@@ -12,11 +12,11 @@ class cpp_generator : public generator {
protected:
bool checked;
public:
- cpp_generator(set<RecordDecl *> &exported_types,
+ cpp_generator(SourceManager &SM, set<RecordDecl *> &exported_types,
set<FunctionDecl *> exported_functions,
set<FunctionDecl *> functions,
bool checked = false) :
- generator(exported_types, exported_functions, functions),
+ generator(SM, exported_types, exported_functions, functions),
checked(checked) {}
enum function_kind {
@@ -45,10 +45,9 @@ private:
void print_get_ctx_decl(ostream &os);
void print_methods_decl(ostream &os, const isl_class &clazz);
void print_method_group_decl(ostream &os, const isl_class &clazz,
- const string &fullname, const set<FunctionDecl *> &methods);
+ const set<FunctionDecl *> &methods);
void print_method_decl(ostream &os, const isl_class &clazz,
- const string &fullname, FunctionDecl *method,
- function_kind kind);
+ FunctionDecl *method, function_kind kind);
void print_implementations(ostream &os);
void print_class_impl(ostream &os, const isl_class &clazz);
void print_class_factory_impl(ostream &os, const isl_class &clazz);
@@ -63,7 +62,7 @@ private:
void print_get_ctx_impl(ostream &os, const isl_class &clazz);
void print_methods_impl(ostream &os, const isl_class &clazz);
void print_method_group_impl(ostream &os, const isl_class &clazz,
- const string &fullname, const set<FunctionDecl *> &methods);
+ const set<FunctionDecl *> &methods);
void print_argument_validity_check(ostream &os, FunctionDecl *method,
function_kind kind);
void print_save_ctx(ostream &os, FunctionDecl *method,
@@ -72,13 +71,11 @@ private:
void print_exceptional_execution_check(ostream &os,
FunctionDecl *method);
void print_method_impl(ostream &os, const isl_class &clazz,
- const string &fullname, FunctionDecl *method,
- function_kind kind);
+ FunctionDecl *method, function_kind kind);
void print_method_param_use(ostream &os, ParmVarDecl *param,
bool load_from_this_ptr);
void print_method_header(ostream &os, const isl_class &clazz,
- FunctionDecl *method, const string &fullname,
- bool is_declaration, function_kind kind);
+ FunctionDecl *method, bool is_declaration, function_kind kind);
string generate_callback_args(QualType type, bool cpp);
string generate_callback_type(QualType type);
void print_wrapped_call_checked(std::ostream &os,
OpenPOWER on IntegriCloud