Home
last modified time | relevance | path

Searched refs:decls_match (Results 1 – 25 of 35) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Dname-lookup.c2549 else if (!decls_match (decl, old)) in check_extern_c_conflict()
2920 && decls_match (*iter, decl)) in set_local_extern_decl_linkage()
3953 else if (decls_match (new_fn, old_fn)) in do_nonmember_using_decl()
3978 && (fn_scope_p || !decls_match (lookup.value, value))) in do_nonmember_using_decl()
3988 if (type && !decls_match (lookup.type, type)) in do_nonmember_using_decl()
4892 if (decls_match (decl, ofn)) in set_decl_namespace()
H A Ddecl.c958 decls_match (tree newdecl, tree olddecl, bool record_versions /* = true */) in decls_match() function
1063 types_match = decls_match (newres, oldres); in decls_match()
1441 types_match = decls_match (newdecl, olddecl); in duplicate_decls()
1548 types_match = decls_match (newdecl, olddecl); in duplicate_decls()
2954 && ! decls_match (olddecl, newdecl)) in redeclaration_error_message()
H A Ddecl2.c1530 if (decls_match (decl, *iter, /*record_decls=*/false)) in find_last_decl()
H A Dcp-tree.h6537 extern int decls_match (tree, tree, bool = true);
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Dname-lookup.cc3018 else if (!decls_match (decl, old)) in check_extern_c_conflict()
3396 if (decls_match (decl, *iter, /*record_versions*/false)) in push_local_extern_decl_alias()
4892 else if (decls_match (new_fn, old_fn)) in do_nonmember_using_decl()
4917 && (fn_scope_p || !decls_match (lookup.value, value))) in do_nonmember_using_decl()
4930 if (type && !decls_match (lookup.type, type)) in do_nonmember_using_decl()
5913 if (decls_match (decl, ofn)) in set_decl_namespace()
H A DChangeLog-199470 * decl2.c (check_classfn): Don't use decls_match yet, as it modifies
83 * decl2.c (check_classfn): Use decls_match to check if this has
86 * decl.c (decls_match): Make public.
1185 (decls_match): Deal with new format of template parms.
2216 * decl.c (decls_match): Say the types don't match if newdecl ends up
2557 (decls_match): Don't look at default args.
2821 (decls_match): Rearrange arguments in call to rsmf.
3047 (decls_match): Compare return types strictly.
3473 (decls_match): Also accept redeclaration with no arguments if both
3628 * decl.c (decls_match): Always call compparms with strict == 1.
[all …]
H A DChangeLog-2012328 * decl.c (decls_match): Remove #ifdef around earlier fix.
414 * decl.c (decls_match): Make decls unmatched for versioned
2513 * decl.c (decls_match): Handle auto return comparison.
2938 * decl.c (decls_match): Assert that the arguments are decls.
2942 same_type_p, not decls_match.
H A DChangeLog-2009264 (decls_match): Remove unused tree_name variable.
936 * decl.c (decls_match): Use DECL_IS_BUILTIN instead of
1796 * decl.c (decls_match): A non-extern-C declaration doesn't match
2076 * decl.c (decls_match): Check DECL_TI_TEMPLATE too.
H A DChangeLog-2000671 * call.c (equal_functions): Also call decls_match for extern "C" fns.
2057 (decls_match): Only allow sloppy parm matching for ancient
2201 (decls_match): Return 0 if the DECL_TEMPLATE_RESULTs have different
4107 * decl.c (decls_match): Use DECL_EXTERN_C_P.
4360 * decl.c (decls_match): Allow a redeclaration of a builtin to
5945 * decl.c (decls_match): Remove obsolete static member nadgering.
6133 (decls_match): Use CP_DECL_CONTEXT, not DECL_REAL_CONTEXT.
H A DChangeLog-20132710 * decl.c (decls_match): Compare ref-qualifiers.
2932 (decls_match): Use it.
3355 (decls_match): Likewise.
4075 * decl.c (decls_match): Check versions later.
H A Ddecl.cc988 decls_match (tree newdecl, tree olddecl, bool record_versions /* = true */) in decls_match() function
1096 types_match = decls_match (newres, oldres); in decls_match()
1540 types_match = decls_match (newdecl, olddecl); in duplicate_decls()
1636 types_match = decls_match (newdecl, olddecl); in duplicate_decls()
3148 && ! decls_match (olddecl, newdecl)) in redeclaration_error_message()
H A DChangeLog-1998859 * decl.c (decls_match): Likewise. Use COMPARE_REDECLARATION here.
1333 * decl.c (decls_match): Handle FUNCTION_DECL vs TEMPLATE_DECL
1716 * decl.c (decls_match): Use comptypes directly; ignore
3102 * tree.c (ovl_member): Use decls_match to compare functions.
3103 * decl.c (decls_match): Check the context of a function.
6016 * decl.c (decls_match): Call comp_template_parms, rather than
H A DChangeLog-20181677 * decl.c (decls_match): Remove SYSTEM_IMPLICIT_EXTERN_C matching
1767 * decl.c (decls_match): Likewise.
2244 * cp/decl.c (decls_match): Check SYSTEM_IMPLICIT_EXTERN_C not
4936 * decl.c (decls_match): Call it if a declaration does not
H A DChangeLog-2017221 * cp-tree.h (decls_match): Add default argument.
222 * decl.c (decls_match): Avoid calling into the target back end
2004 * decl.c (decls_match): Break function versioning check to
2006 (maybe_version_functions): Broken out of decls_match.
H A DChangeLog-19971151 * decl.c (decls_match): Likewise.
1227 * decl.c (decls_match): Handle multiple levels of template
H A DChangeLog-19952025 * decl.c (pushdecl): Use decls_match, not duplicate_decls, for
3252 (decls_match): Remove check for qualifier disagreement.
3565 * decl.c (decls_match): Also check for agreement of TREE_READONLY
H A DChangeLog-20082530 * decl.c (decls_match): Ditto.
2866 * decl.c (decls_match): Ditto.
H A Ddecl2.cc1676 if (decls_match (decl, d, /*record_decls=*/false)) in find_last_decl()
H A DChangeLog-201021 * decl.c (decls_match): Check for FUNCTION_DECL
26 * decl.c (decls_match, duplicate_decls): Use prototype_p.
H A DChangeLog1585 * decl.cc (decls_match): Compare versions even if not recording.
H A DChangeLog-20201327 * decl.c (decls_match): Likewise. Replace
3033 * decl.c (decls_match): Move variables into scopes
H A DChangeLog-20061703 * decl.c (decls_match): Allow an extern "C" variable declarations
H A Dcp-tree.h6801 extern int decls_match (tree, tree, bool = true);
H A Dclass.cc8596 if (!decls_match (fn, TREE_PURPOSE (match)) in resolve_address_of_overloaded_function()
H A DChangeLog-20052726 * decl.c (decls_match): Compare context of VAR_DECL.

12