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

/freebsd-9.3-release/contrib/gcc/cp/
H A Ddecl.c933 decls_match (tree newdecl, tree olddecl)
937 if (newdecl == olddecl)
940 if (TREE_CODE (newdecl) != TREE_CODE (olddecl))
948 tree f2 = TREE_TYPE (olddecl);
952 if (CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl)
954 && DECL_EXTERN_C_P (olddecl)))
962 if (p2 == NULL_TREE && DECL_EXTERN_C_P (olddecl)
963 && (DECL_BUILT_IN (olddecl)
966 || (DECL_IN_SYSTEM_HEADER (olddecl) && !DECL_CLASS_SCOPE_P (olddecl))
928 decls_match(tree newdecl, tree olddecl) argument
1044 warn_extern_redeclared_static(tree newdecl, tree olddecl) argument
1120 duplicate_decls(tree newdecl, tree olddecl, bool newdecl_is_friend) argument
2092 redeclaration_error_message(tree newdecl, tree olddecl) argument
10719 tree olddecl = pushdecl (decl1); local
[all...]
H A Dname-lookup.c720 tree olddecl = duplicate_decls (x, t, is_friend);
724 if (olddecl == error_mark_node)
727 if (olddecl)
719 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-9.3-release/contrib/gcc/
H A Dc-decl.c1059 diagnose_arglist_conflict (tree newdecl, tree olddecl,
1064 if (TREE_CODE (olddecl) != FUNCTION_DECL
1066 || !((TYPE_ARG_TYPES (oldtype) == 0 && DECL_INITIAL (olddecl) == 0)
1188 diagnose_mismatched_decls (tree newdecl, tree olddecl,
1201 if (olddecl == error_mark_node || newdecl == error_mark_node)
1203 *oldtypep = oldtype = TREE_TYPE (olddecl);
1210 if (TREE_CODE (olddecl) != TREE_CODE (newdecl))
1212 if (!(TREE_CODE (olddecl) == FUNCTION_DECL
1213 && DECL_BUILT_IN (olddecl)
1214 && !C_DECL_DECLARED_BUILTIN (olddecl)))
1051 diagnose_arglist_conflict(tree newdecl, tree olddecl, tree newtype, tree oldtype) argument
1180 diagnose_mismatched_decls(tree newdecl, tree olddecl, tree *newtypep, tree *oldtypep) argument
1644 merge_decls(tree newdecl, tree olddecl, tree newtype, tree oldtype) argument
1967 duplicate_decls(tree newdecl, tree olddecl) argument
2384 implicit_decl_warning(tree id, tree olddecl) argument
[all...]
H A Dvarasm.c4552 merge_weak (tree newdecl, tree olddecl)
4554 if (DECL_WEAK (newdecl) == DECL_WEAK (olddecl))
4581 if (TREE_ASM_WRITTEN (olddecl))
4588 else if (TREE_USED (olddecl)
4589 && TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (olddecl)))
4600 TREE_VALUE (wd) = olddecl;
4610 mark_weak (olddecl);
4526 merge_weak(tree newdecl, tree olddecl) argument
H A Dtree.c3633 merge_decl_attributes (tree olddecl, tree newdecl)
3635 return merge_attributes (DECL_ATTRIBUTES (olddecl),
3612 merge_decl_attributes(tree olddecl, tree newdecl) argument

Completed in 163 milliseconds