Home
last modified time | relevance | path

Searched refs:olddecl (Results 1 – 25 of 34) sorted by relevance

12

/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Ddecl.cc988 decls_match (tree newdecl, tree olddecl, bool record_versions /* = true */) in decls_match() argument
992 if (newdecl == olddecl) in decls_match()
995 if (TREE_CODE (newdecl) != TREE_CODE (olddecl)) in decls_match()
1009 tree t2 = (DECL_USE_TEMPLATE (olddecl) in decls_match()
1010 ? DECL_TI_TEMPLATE (olddecl) in decls_match()
1015 if (CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl) in decls_match()
1017 && DECL_EXTERN_C_P (olddecl))) in decls_match()
1022 if (DECL_IS_UNDECLARED_BUILTIN (olddecl) in decls_match()
1023 && DECL_EXTERN_C_P (olddecl) && !DECL_EXTERN_C_P (newdecl)) in decls_match()
1027 tree f2 = TREE_TYPE (olddecl); in decls_match()
[all …]
Dpt.cc4468 tree olddecl; in check_template_shadow() local
4477 olddecl = innermost_non_namespace_value (DECL_NAME (decl)); in check_template_shadow()
4481 if (!olddecl) in check_template_shadow()
4488 if (!DECL_P (olddecl) || !DECL_TEMPLATE_PARM_P (olddecl)) in check_template_shadow()
4494 if (decl == olddecl in check_template_shadow()
4509 inform (DECL_SOURCE_LOCATION (olddecl), in check_template_shadow()
4510 "template parameter %qD declared here", olddecl); in check_template_shadow()
29293 rewrite_template_parm (tree olddecl, unsigned index, unsigned level, in rewrite_template_parm() argument
29296 if (olddecl == error_mark_node) in rewrite_template_parm()
29299 tree oldidx = get_template_parm_index (olddecl); in rewrite_template_parm()
[all …]
DChangeLog-199729 olddecl was, just as is done with other attributes of olddecl.
2370 exceptions if -pedantic *or* olddecl !DECL_IN_SYSTEM_HEADER.
2422 if -pedantic, instead of olddecl !DECL_IN_SYSTEM_HEADER.
2447 still but only if !DECL_IN_SYSTEM_HEADER (olddecl).
DChangeLog-2014765 tls model to newdecl symtab node, instead merge to olddecl.
766 Override existing olddecl section name. Set tls_model for all
1253 newdecl, not olddecl.
DChangeLog-20061060 newdecl or olddecl is error_mark_node.
2398 (olddecl).
DChangeLog-20022267 olddecl to newdecl when newdecl is a specialization of the
2268 instantiation olddecl.
DChangeLog-20184172 rather than olddecl if !flag_permissive.
4260 also a note and return olddecl.
DChangeLog-20122746 * decl.c (duplicate_decls): If olddecl has bigger DECL_ALIGN than
DChangeLog-2005400 olddecl and newdecl disagreement on __thread property.
DChangeLog-1998182 (decl_template_parm_p): Change name of olddecl parameter to decl.
6124 Update olddecl's attributes too.
DChangeLog-20153759 only if the location of newdecl doesn't match the location of olddecl.
DChangeLog-20162272 olddecl vars, preserve their TREE_READONLY bit.
DChangeLog-1995414 Update olddecl's attributes too.
DChangeLog-20041623 * decl.c (duplicate_decls): Copy TREE_NOTHROW from newdecl to olddecl.
DChangeLog-20201320 DECL_PRESERVE_P from olddecl to its clones if any.
DChangeLog-19942217 with a null type, after we've checked if olddecl does.
/netbsd/src/external/bsd/pcc/dist/pcc/cc/cxxcom/
Dcgram.y177 static void olddecl(NODE *p, NODE *a);
590 olddecl(block(TYMERGE, ccopy($<nodep>0), $1,
594 olddecl(block(TYMERGE, ccopy($<nodep>0), $3,
1866 olddecl(NODE *p, NODE *a) in olddecl() function
/netbsd/src/external/bsd/pcc/dist/pcc/cc/ccom/
Dcgram.y178 static void olddecl(P1ND *p, P1ND *a);
562 olddecl(block(TYMERGE, p1tcopy($<nodep>0), $1,
566 olddecl(block(TYMERGE, p1tcopy($<nodep>0), $3,
1903 olddecl(P1ND *p, P1ND *a) in olddecl() function
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dvarasm.cc5895 merge_weak (tree newdecl, tree olddecl) in merge_weak() argument
5897 if (DECL_WEAK (newdecl) == DECL_WEAK (olddecl)) in merge_weak()
5923 gcc_assert (!TREE_ASM_WRITTEN (olddecl)); in merge_weak()
5929 gcc_assert (!TREE_USED (olddecl) in merge_weak()
5930 || !TREE_SYMBOL_REFERENCED (DECL_ASSEMBLER_NAME (olddecl))); in merge_weak()
5933 if (! TREE_PUBLIC (olddecl) && TREE_PUBLIC (newdecl)) in merge_weak()
5944 TREE_VALUE (wd) = olddecl; in merge_weak()
5954 mark_weak (olddecl); in merge_weak()
Dattribs.cc1685 merge_decl_attributes (tree olddecl, tree newdecl) in merge_decl_attributes() argument
1687 return merge_attributes (DECL_ATTRIBUTES (olddecl), in merge_decl_attributes()
Dtree.h4130 copy_decl_built_in_function (tree newdecl, const_tree olddecl) in copy_decl_built_in_function() argument
4134 = FUNCTION_DECL_CHECK (olddecl)->function_decl; in copy_decl_built_in_function()
Dtarget.def2169 @code{DECL_ATTRIBUTES} of @var{olddecl} and @var{newdecl}.\n\
2170 @var{newdecl} is a duplicate declaration of @var{olddecl}. Examples of\n\
2186 tree, (tree olddecl, tree newdecl),
DChangeLog-20013118 olddecl.
30853 olddecl has argument types and newdecl has none, use the argument
30854 types from olddecl.
/netbsd/src/external/gpl3/gcc/dist/gcc/config/mips/
Dmips.cc1468 mips_merge_decl_attributes (tree olddecl, tree newdecl) in mips_merge_decl_attributes() argument
1472 diff = (mips_get_compress_on_flags (DECL_ATTRIBUTES (olddecl)) in mips_merge_decl_attributes()
1478 diff = (mips_get_compress_off_flags (DECL_ATTRIBUTES (olddecl)) in mips_merge_decl_attributes()
1484 return merge_attributes (DECL_ATTRIBUTES (olddecl), in mips_merge_decl_attributes()
/netbsd/src/external/gpl3/gcc/dist/gcc/doc/
Dtm.texi10577 @deftypefn {Target Hook} tree TARGET_MERGE_DECL_ATTRIBUTES (tree @var{olddecl}, tree @var{newdecl})
10580 @code{DECL_ATTRIBUTES} of @var{olddecl} and @var{newdecl}.
10581 @var{newdecl} is a duplicate declaration of @var{olddecl}. Examples of

12