diff --git a/source/to_cpp1.h b/source/to_cpp1.h index 575880c4a..66af411bd 100644 --- a/source/to_cpp1.h +++ b/source/to_cpp1.h @@ -1699,10 +1699,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 = @@ -4887,7 +4889,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{"<"}; @@ -5551,7 +5553,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( @@ -5773,7 +5775,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 @@ -6633,7 +6635,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); } }