From: Simon Martin Date: Mon, 5 May 2025 08:37:52 +0000 (+0200) Subject: c++: Remove obsolete prototype X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20c2fc676050ebfcd62af50dad08cd2d2736d1e8;p=thirdparty%2Fgcc.git c++: Remove obsolete prototype I noticed while investigating PR c++/119437 that r8-2724-g88b811bd290630 removed parsing_default_capturing_generic_lambda_in_template but not its prototype in cp-tree.h. This patch fixes this. gcc/cp/ChangeLog: * cp-tree.h (parsing_default_capturing_generic_lambda_in_template): Remove obsolete prototype. --- diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h index af51d67ef9f..a42c07a330b 100644 --- a/gcc/cp/cp-tree.h +++ b/gcc/cp/cp-tree.h @@ -7632,7 +7632,6 @@ extern void cp_finish_omp_range_for (tree, tree); extern bool cp_maybe_parse_omp_decl (tree, tree); extern bool parsing_nsdmi (void); extern bool parsing_function_declarator (); -extern bool parsing_default_capturing_generic_lambda_in_template (void); extern void inject_this_parameter (tree, cp_cv_quals); extern location_t defparse_location (tree); extern void maybe_show_extern_c_location (void);