Commit c8ed09e8 authored by David Gobbi's avatar David Gobbi

Fix wrapper grammar for function trailer

The position of "ref_qualifer" was incorrect, so '&' and '&&'
could not be used together with "noexcept" in a function
definition trailer.  The new ordering has been made to match
the "parameters-and-qualifiers" rule in the official C++ grammar.
parent 375ae795
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2503,7 +2503,7 @@ function_nr:
}
function_trailer_clause:
func_cv_qualifier_seq opt_noexcept_specifier opt_ref_qualifier
func_cv_qualifier_seq opt_ref_qualifier opt_noexcept_specifier
func_attribute_specifier_seq opt_trailing_return_type
virt_specifier_seq opt_body_as_trailer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment