aboutsummaryrefslogtreecommitdiff
path: root/libcpp/errors.c
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2020-01-19 09:15:26 -0500
committerJason Merrill <jason@redhat.com>2020-01-19 13:56:22 -0500
commit303484a73541ea7f41dff0238157924e49c255ff (patch)
treeb028146a93b9ea6e208fb9852b7c81d3afe7f98d /libcpp/errors.c
parentbf6fc129c0568da74270474a1cf0737120796893 (diff)
downloadgcc-303484a73541ea7f41dff0238157924e49c255ff.zip
gcc-303484a73541ea7f41dff0238157924e49c255ff.tar.gz
gcc-303484a73541ea7f41dff0238157924e49c255ff.tar.bz2
Simplify lambda parsing.
Since we removed the special parsing for C++11 lambdas, it's just been an open-coded copy of cp_parser_function_body. So let's call it instead. This avoids the need to change this code in my revised 33799 patch. * parser.c (cp_parser_lambda_body): Use cp_parser_function_body.
Diffstat (limited to 'libcpp/errors.c')
0 files changed, 0 insertions, 0 deletions