aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Martin <simon@nasilyan.com>2025-05-05 10:37:52 +0200
committerSimon Martin <simon@nasilyan.com>2025-05-05 10:52:56 +0200
commit20c2fc676050ebfcd62af50dad08cd2d2736d1e8 (patch)
tree41f666f43c8e71cd782e99778dc5f1c5af788865
parentc9982eec2d3edc5306291d4628f08825ba46d483 (diff)
downloadgcc-20c2fc676050ebfcd62af50dad08cd2d2736d1e8.zip
gcc-20c2fc676050ebfcd62af50dad08cd2d2736d1e8.tar.gz
gcc-20c2fc676050ebfcd62af50dad08cd2d2736d1e8.tar.bz2
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.
-rw-r--r--gcc/cp/cp-tree.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
index af51d67..a42c07a 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);