diff --git a/source/to_cpp1.h b/source/to_cpp1.h index 26262de4e..adf67c6d4 100644 --- a/source/to_cpp1.h +++ b/source/to_cpp1.h @@ -1698,10 +1698,12 @@ class cppfront bool in_synthesized_multi_return = false, bool is_local_name = true, bool is_qualified = false, + bool is_dependent = false, bool emit_identifier = true ) -> void { STACKINSTR + (void)is_dependent; // Avoid conflict with #533. auto last_use = is_definite_last_use(n.identifier); bool add_forward = @@ -4860,7 +4862,7 @@ class cppfront { auto list = std::string{""}; if (parent->specialization_template_arguments) { - list = print_to_string(*parent->specialization_template_arguments, false, false, false, false); + list = print_to_string(*parent->specialization_template_arguments, false, false, false, false, false); } else if (parent->template_parameters) { auto separator = std::string{"<"}; @@ -5524,7 +5526,7 @@ class cppfront auto specialization_template_arguments = std::string{}; if (n.specialization_template_arguments) { - specialization_template_arguments = print_to_string(*n.specialization_template_arguments, false, false, false, false); + specialization_template_arguments = print_to_string(*n.specialization_template_arguments, false, false, false, false, false); } printer.print_cpp2( @@ -5745,7 +5747,7 @@ class cppfront printer.print_cpp2("class ", n.position()); emit(*n.identifier); if (n.specialization_template_arguments) { - emit(*n.specialization_template_arguments, false, false, false, false); + emit(*n.specialization_template_arguments, false, false, false, false, false); } // Type declaration @@ -6569,7 +6571,7 @@ class cppfront else { emit(*n.identifier); if (n.specialization_template_arguments) { - emit(*n.specialization_template_arguments, false, false, false, false); + emit(*n.specialization_template_arguments, false, false, false, false, false); } }