* cvt.c (convert_lvalue): Remove.
* cp-tree.h: Remove the corresponding prototype.
+ * pt.c (tinst_for_decl): Remove.
+ * cp-tree.h: Remove the corresponding prototypes.
+
2005-01-15 Jakub Jelinek <jakub@redhat.com>
PR c++/19263
extern tree instantiate_class_template (tree);
extern tree instantiate_template (tree, tree, tsubst_flags_t);
extern int fn_type_unification (tree, tree, tree, tree, tree, unification_kind_t, int);
-extern tree tinst_for_decl (void);
extern void mark_decl_instantiated (tree, int);
extern int more_specialized (tree, tree, int, int);
extern void mark_class_instantiated (tree, int);
pop_tinst_level ();
}
-/* Return the outermost template instantiation context, for use with
- -falt-external-templates. */
-
-tree
-tinst_for_decl (void)
-{
- tree p = current_tinst_level;
-
- if (p)
- for (; TREE_CHAIN (p) ; p = TREE_CHAIN (p))
- ;
- return p;
-}
-
/* DECL is a friend FUNCTION_DECL or TEMPLATE_DECL. ARGS is the
vector of template arguments, as for tsubst.