Searched refs:olddecl (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/contrib/gcc/cp/
H A Ddecl.c934 decls_match (tree newdecl, tree olddecl)
938 if (newdecl == olddecl)
941 if (TREE_CODE (newdecl) != TREE_CODE (olddecl))
949 tree f2 = TREE_TYPE (olddecl);
953 if (CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl)
955 && DECL_EXTERN_C_P (olddecl)))
963 if (p2 == NULL_TREE && DECL_EXTERN_C_P (olddecl)
964 && (DECL_BUILT_IN (olddecl)
967 || (DECL_IN_SYSTEM_HEADER (olddecl) && !DECL_CLASS_SCOPE_P (olddecl))
929 decls_match(tree newdecl, tree olddecl) argument
1045 warn_extern_redeclared_static(tree newdecl, tree olddecl) argument
1121 duplicate_decls(tree newdecl, tree olddecl, bool newdecl_is_friend) argument
2093 redeclaration_error_message(tree newdecl, tree olddecl) argument
11188 tree olddecl = pushdecl (decl1); local
11389 fn_previously_found(tree decl, tree olddecl) argument
11456 tree olddecl = namespace_binding (DECL_NAME (decl), DECL_CONTEXT (decl)); local
[all...]
H A Dname-lookup.c716 tree olddecl = duplicate_decls (x, t, is_friend);
720 if (olddecl == error_mark_node)
723 if (olddecl)
715 tree olddecl = duplicate_decls (x, t, is_friend); local
H A Dpt.c2283 tree olddecl; local
2293 olddecl = innermost_non_namespace_value (DECL_NAME (decl));
2297 if (!olddecl)
2304 if (!DECL_P (olddecl) || !DECL_TEMPLATE_PARM_P (olddecl))
2307 /* We check for decl != olddecl to avoid bogus errors for using a
2310 if (decl == olddecl
2315 error (" shadows template parm %q+#D", olddecl);
/freebsd-11-stable/contrib/gcc/
H A Dc-decl.c1061 diagnose_arglist_conflict (tree newdecl, tree olddecl,
1066 if (TREE_CODE (olddecl) != FUNCTION_DECL
1068 || !((TYPE_ARG_TYPES (oldtype) == 0 && DECL_INITIAL (olddecl) == 0)
1190 diagnose_mismatched_decls (tree newdecl, tree olddecl,
1203 if (olddecl == error_mark_node || newdecl == error_mark_node)
1205 *oldtypep = oldtype = TREE_TYPE (olddecl);
1212 if (TREE_CODE (olddecl) != TREE_CODE (newdecl))
1214 if (!(TREE_CODE (olddecl) == FUNCTION_DECL
1215 && DECL_BUILT_IN (olddecl)
1216 && !C_DECL_DECLARED_BUILTIN (olddecl)))
1053 diagnose_arglist_conflict(tree newdecl, tree olddecl, tree newtype, tree oldtype) argument
1182 diagnose_mismatched_decls(tree newdecl, tree olddecl, tree *newtypep, tree *oldtypep) argument
1646 merge_decls(tree newdecl, tree olddecl, tree newtype, tree oldtype) argument
1969 duplicate_decls(tree newdecl, tree olddecl) argument
2386 implicit_decl_warning(tree id, tree olddecl) argument
[all...]
H A Dvarasm.c4554 merge_weak (tree newdecl, tree olddecl)
4556 if (DECL_WEAK (newdecl) == DECL_WEAK (olddecl))
4583 if (TREE_ASM_WRITTEN (olddecl))
4590 else if (TREE_USED (olddecl)
4591 && TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (olddecl)))
4602 TREE_VALUE (wd) = olddecl;
4612 mark_weak (olddecl);
4528 merge_weak(tree newdecl, tree olddecl) argument
H A Dtree.c3637 merge_decl_attributes (tree olddecl, tree newdecl)
3639 return merge_attributes (DECL_ATTRIBUTES (olddecl),
3616 merge_decl_attributes(tree olddecl, tree newdecl) argument

Completed in 288 milliseconds