aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/lambda.c
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2018-02-26 14:58:47 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2018-02-26 14:58:47 +0000
commit856c79ea8d01c8094a6db7cb80de53303bed3e08 (patch)
treeb59ca04bcf8bd580cf042ceda2520191339d293c /gcc/cp/lambda.c
parentff9fccdcb5118d494bba801038a1c334bf2e38fd (diff)
downloadgcc-856c79ea8d01c8094a6db7cb80de53303bed3e08.zip
gcc-856c79ea8d01c8094a6db7cb80de53303bed3e08.tar.gz
gcc-856c79ea8d01c8094a6db7cb80de53303bed3e08.tar.bz2
lambda.c (build_capture_proxy): Define static.
2018-02-26 Paolo Carlini <paolo.carlini@oracle.com> * lambda.c (build_capture_proxy): Define static. * cp-tree.h (build_capture_proxy): Remove. From-SVN: r257990
Diffstat (limited to 'gcc/cp/lambda.c')
-rw-r--r--gcc/cp/lambda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/lambda.c b/gcc/cp/lambda.c
index a0a80df..6a79826 100644
--- a/gcc/cp/lambda.c
+++ b/gcc/cp/lambda.c
@@ -388,7 +388,7 @@ lambda_proxy_type (tree ref)
inside the operator(), build a placeholder var for future lookups and
debugging. */
-tree
+static tree
build_capture_proxy (tree member, tree init)
{
tree var, object, fn, closure, name, lam, type;