Lines Matching refs:old_decl
10979 tree old_decl; in tsubst_friend_function() local
11009 old_decl = pushdecl_namespace_level (new_friend, /*is_friend=*/true); in tsubst_friend_function()
11012 if (old_decl == error_mark_node) in tsubst_friend_function()
11015 if (old_decl != new_friend) in tsubst_friend_function()
11065 DECL_TEMPLATE_INFO (old_decl) = new_friend_template_info; in tsubst_friend_function()
11067 if (TREE_CODE (old_decl) != TEMPLATE_DECL) in tsubst_friend_function()
11073 == old_decl); in tsubst_friend_function()
11076 if (DECL_ODR_USED (old_decl)) in tsubst_friend_function()
11077 instantiate_decl (old_decl, /*defer_ok=*/true, in tsubst_friend_function()
11086 DECL_TEMPLATE_INFO (DECL_TEMPLATE_RESULT (old_decl)) in tsubst_friend_function()
11091 gcc_assert (new_template != old_decl); in tsubst_friend_function()
11096 for (t = DECL_TEMPLATE_INSTANTIATIONS (old_decl); in tsubst_friend_function()
11103 elt.tmpl = old_decl; in tsubst_friend_function()
11117 DECL_TEMPLATE_INSTANTIATIONS (old_decl) = NULL_TREE; in tsubst_friend_function()
11123 new_friend = old_decl; in tsubst_friend_function()