Lines Matching refs:old_value
1181 tree old_value;
1185 old_value = lookup_member (t, name, /*protect=*/0, /*want_type=*/false);
1186 if (old_value)
1188 if (is_overloaded_fn (old_value))
1189 old_value = OVL_CURRENT (old_value);
1191 if (DECL_P (old_value) && DECL_CONTEXT (old_value) == t)
1194 old_value = NULL_TREE;
1202 if (! old_value)
1204 else if (is_overloaded_fn (old_value))
1213 OVL_CURRENT (old_value));
1217 else if (!DECL_ARTIFICIAL (old_value))
1220 error (" because of local member %q+#D with same name", old_value);