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
+2018-02-26 Paolo Carlini <paolo.carlini@oracle.com>
+
+ * lambda.c (build_capture_proxy): Define static.
+ * cp-tree.h (build_capture_proxy): Remove.
+
2018-02-26 Marek Polacek <polacek@redhat.com>
PR c++/84537
extern void apply_deduced_return_type (tree, tree);
extern tree add_capture (tree, tree, tree, bool, bool);
extern tree add_default_capture (tree, tree, tree);
-extern tree build_capture_proxy (tree, tree);
extern void insert_capture_proxy (tree);
extern void insert_pending_capture_proxies (void);
extern bool is_capture_proxy (tree);
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;