* tree.c (replace_placeholders_t): Remove unused type.
(replace_placeholders): Remove unused pset.
From-SVN: r222110
+2015-04-14 Mikhail Maltsev <maltsevm@gmail.com>
+
+ * tree.c (replace_placeholders_t): Remove unused type.
+ (replace_placeholders): Remove unused pset.
+
2015-04-14 Jason Merrill <jason@redhat.com>
* pt.c (lookup_template_class_1): Use coerce_innermost_template_parms.
/* Like substitute_placeholder_in_expr, but handle C++ tree codes and
build up subexpressions as we go deeper. */
-struct replace_placeholders_t
-{
- tree obj;
- hash_set<tree> *pset;
-};
-
static tree
replace_placeholders_r (tree* t, int* walk_subtrees, void* data_)
{
tree
replace_placeholders (tree exp, tree obj)
{
- hash_set<tree> pset;
tree *tp = &exp;
if (TREE_CODE (exp) == TARGET_EXPR)
tp = &TARGET_EXPR_INITIAL (exp);