HomeSort by: relevance | last modified time | path
    Searched refs:newdecl (Results 1 - 25 of 33) sorted by relevancy

1 2

  /src/external/gpl3/gcc/dist/gcc/cp/
decl.cc 1058 fns_correspond (tree newdecl, tree olddecl)
1060 if (TREE_CODE (newdecl) != TREE_CODE (olddecl))
1063 if (TREE_CODE (newdecl) == TEMPLATE_DECL)
1065 if (!template_heads_equivalent_p (newdecl, olddecl))
1067 newdecl = DECL_TEMPLATE_RESULT (newdecl);
1071 tree f1 = TREE_TYPE (newdecl);
1094 tree p1 = FUNCTION_FIRST_USER_PARMTYPE (newdecl);
1103 types_match = function_requirements_equivalent_p (newdecl, olddecl);
1116 decls_match (tree newdecl, tree olddecl, bool record_versions /* = true */
    [all...]
contracts.cc 918 /* Copy contract attributes from NEWDECL onto the attribute list of OLDDECL. */
920 void copy_contract_attributes (tree olddecl, tree newdecl)
923 for (tree c = DECL_CONTRACTS (newdecl); c; c = TREE_CHAIN (c))
1178 /* Compare the contract attributes of OLDDECL and NEWDECL. Returns true
2175 duplicate_contracts (tree newdecl, tree olddecl)
2177 if (TREE_CODE (newdecl) == TEMPLATE_DECL)
2178 newdecl = DECL_TEMPLATE_RESULT (newdecl);
2184 tree new_contracts = DECL_CONTRACTS (newdecl);
2190 location_t new_loc = DECL_SOURCE_LOCATION (newdecl);
    [all...]
pt.cc 27830 tree newdecl = build_enumerator (DECL_NAME (decl), value, newtag,
27836 TREE_DEPRECATED (newdecl) = TREE_DEPRECATED (decl);
27837 TREE_UNAVAILABLE (newdecl) = TREE_UNAVAILABLE (decl);
29915 tree newdecl
29918 SET_DECL_TEMPLATE_PARM_P (newdecl);
29926 newdecl, newtype);
29929 TYPE_STUB_DECL (newtype) = TYPE_NAME (newtype) = newdecl;
29937 DECL_TEMPLATE_RESULT (newdecl) = newresult;
29970 DECL_TEMPLATE_PARMS (newdecl) = ttparms;
29972 = build_template_info (newdecl, template_parms_to_args (ttparms))
27828 tree newdecl = build_enumerator (DECL_NAME (decl), value, newtag, local
29913 tree newdecl local
30006 tree newdecl = rewrite_template_parm (olddecl, index, level, local
    [all...]
module.cc 19071 /* Is it permissible to redeclare OLDDECL with NEWDECL.
19073 If NEWDECL is NULL, assumes that OLDDECL will be redeclared using
19077 module_may_redeclare (tree olddecl, tree newdecl)
19113 if (newdecl)
19115 tree new_origin = get_originating_module_decl (newdecl);
19140 decl = newdecl ? newdecl : olddecl;
19141 location_t loc = newdecl ? DECL_SOURCE_LOCATION (newdecl) : input_location;
  /src/external/gpl3/gcc.old/dist/gcc/cp/
decl.cc 993 decls_match (tree newdecl, tree olddecl, bool record_versions /* = true */)
997 if (newdecl == olddecl)
1000 if (TREE_CODE (newdecl) != TREE_CODE (olddecl))
1005 gcc_assert (DECL_P (newdecl));
1007 if (TREE_CODE (newdecl) == FUNCTION_DECL)
1011 tree t1 = (DECL_USE_TEMPLATE (newdecl)
1012 ? DECL_TI_TEMPLATE (newdecl)
1020 if (CP_DECL_CONTEXT (newdecl) != CP_DECL_CONTEXT (olddecl)
1021 && ! (DECL_EXTERN_C_P (newdecl)
1028 && DECL_EXTERN_C_P (olddecl) && !DECL_EXTERN_C_P (newdecl))
    [all...]
pt.cc 27230 tree newdecl = build_enumerator (DECL_NAME (decl), value, newtag,
27236 TREE_DEPRECATED (newdecl) = TREE_DEPRECATED (decl);
27237 TREE_UNAVAILABLE (newdecl) = TREE_UNAVAILABLE (decl);
29365 tree newdecl
29368 SET_DECL_TEMPLATE_PARM_P (newdecl);
29376 newdecl, newtype);
29379 TYPE_STUB_DECL (newtype) = TYPE_NAME (newtype) = newdecl;
29387 DECL_TEMPLATE_RESULT (newdecl)
29390 DECL_ARTIFICIAL (DECL_TEMPLATE_RESULT (newdecl)) = true;
29423 DECL_TEMPLATE_PARMS (newdecl) = ttparms
    [all...]
  /src/external/gpl3/gcc/dist/gcc/c/
c-decl.cc 1935 diagnose_arglist_conflict (tree newdecl, tree olddecl,
1943 || (!prototype_p (newtype) && DECL_INITIAL (newdecl) == NULL_TREE)))
1973 old-style function definition, NEWDECL is a prototype declaration.
1977 validate_proto_after_old_defn (tree newdecl, tree newtype, tree oldtype)
2013 "than previous old-style definition", newdecl);
2019 "than previous old-style definition", newdecl);
2029 newdecl, i);
2041 newdecl);
2092 /* Subroutine of duplicate_decls. Compare NEWDECL to OLDDECL.
2096 If it returns true, writes the types of NEWDECL and OLDDECL t
2378 "a built-in function", newdecl); local
2395 newdecl, TREE_TYPE (olddecl)); local
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/c/
c-decl.cc 1819 diagnose_arglist_conflict (tree newdecl, tree olddecl,
1827 || (!prototype_p (newtype) && DECL_INITIAL (newdecl) == NULL_TREE)))
1856 old-style function definition, NEWDECL is a prototype declaration.
1860 validate_proto_after_old_defn (tree newdecl, tree newtype, tree oldtype)
1896 "than previous old-style definition", newdecl);
1902 "than previous old-style definition", newdecl);
1912 newdecl, i);
1924 newdecl);
1953 /* Subroutine of duplicate_decls. Compare NEWDECL to OLDDECL.
1957 If it returns true, writes the types of NEWDECL and OLDDECL t
2208 "a built-in function", newdecl); local
2225 newdecl, TREE_TYPE (olddecl)); local
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/c-family/
c-warn.cc 2583 diagnose_mismatched_attributes (tree olddecl, tree newdecl)
2588 tree a2 = lookup_attribute ("optimize", DECL_ATTRIBUTES (newdecl));
2597 newdecl);
2600 if (DECL_DECLARED_INLINE_P (newdecl)
2604 "declaration with attribute %<noinline%>", newdecl);
2606 && DECL_UNINLINABLE (newdecl)
2607 && lookup_attribute ("noinline", DECL_ATTRIBUTES (newdecl)))
2609 "%<noinline%> follows inline declaration", newdecl);
  /src/external/gpl3/gcc.old/dist/gcc/config/bpf/
bpf.cc 1305 tree newdecl = bpf_core_newdecl (TREE_TYPE (*tp)); local
1306 tree newcall = build_call_expr_loc (loc, newdecl, 1, *tp);
  /src/external/gpl3/gcc/dist/gcc/c-family/
c-warn.cc 2671 diagnose_mismatched_attributes (tree olddecl, tree newdecl)
2676 tree a2 = lookup_attribute ("optimize", DECL_ATTRIBUTES (newdecl));
2685 newdecl);
2688 if (DECL_DECLARED_INLINE_P (newdecl)
2692 "declaration with attribute %<noinline%>", newdecl);
2694 && DECL_UNINLINABLE (newdecl)
2695 && lookup_attribute ("noinline", DECL_ATTRIBUTES (newdecl)))
2697 "%<noinline%> follows inline declaration", newdecl);
  /src/external/gpl3/gcc.old/dist/gcc/
omp-offload.cc 2263 tree newdecl local
2266 adjusted = (TREE_TYPE (newdecl) != oldtype
2267 || newdecl != decl);
2269 adjusted_vars.put (decl, newdecl);
varasm.cc 5917 /* Merge weak status between NEWDECL and OLDDECL. */
5920 merge_weak (tree newdecl, tree olddecl)
5922 if (DECL_WEAK (newdecl) == DECL_WEAK (olddecl))
5924 if (DECL_WEAK (newdecl) && TARGET_SUPPORTS_WEAK)
5927 /* We put the NEWDECL on the weak_decls list at some point
5930 if (TREE_VALUE (*pwd) == newdecl)
5939 if (DECL_WEAK (newdecl))
5943 /* NEWDECL is weak, but OLDDECL is not. */
5958 if (! TREE_PUBLIC (olddecl) && TREE_PUBLIC (newdecl))
5960 "existing, static definition", newdecl);
    [all...]
attribs.cc 1683 /* Given decls OLDDECL and NEWDECL, merge their attributes and return
1687 merge_decl_attributes (tree olddecl, tree newdecl)
1690 DECL_ATTRIBUTES (newdecl));
target.def 2169 @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),
tree.h 4127 /* Record that FUNCTION_DECL NEWDECL represents the same built-in function
4130 copy_decl_built_in_function (tree newdecl, const_tree olddecl)
4132 tree_function_decl &newfndecl = FUNCTION_DECL_CHECK (newdecl)->function_decl;
  /src/external/gpl3/gcc/dist/gcc/
omp-offload.cc 2293 tree newdecl local
2296 adjusted = (TREE_TYPE (newdecl) != oldtype
2297 || newdecl != decl);
2299 adjusted_vars.put (decl, newdecl);
varasm.cc 6017 /* Merge weak status between NEWDECL and OLDDECL. */
6020 merge_weak (tree newdecl, tree olddecl)
6022 if (DECL_WEAK (newdecl) == DECL_WEAK (olddecl))
6024 if (DECL_WEAK (newdecl) && TARGET_SUPPORTS_WEAK)
6027 /* We put the NEWDECL on the weak_decls list at some point
6030 if (TREE_VALUE (*pwd) == newdecl)
6039 if (DECL_WEAK (newdecl))
6043 /* NEWDECL is weak, but OLDDECL is not. */
6058 if (! TREE_PUBLIC (olddecl) && TREE_PUBLIC (newdecl))
6060 "existing, static definition", newdecl);
    [all...]
attribs.cc 1782 /* Given decls OLDDECL and NEWDECL, merge their attributes and return
1786 merge_decl_attributes (tree olddecl, tree newdecl)
1789 DECL_ATTRIBUTES (newdecl));
target.def 2188 @code{DECL_ATTRIBUTES} of @var{olddecl} and @var{newdecl}.\n\
2189 @var{newdecl} is a duplicate declaration of @var{olddecl}. Examples of\n\
2205 tree, (tree olddecl, tree newdecl),
  /src/external/gpl3/gcc.old/dist/gcc/config/nios2/
nios2.cc 4480 nios2_merge_decl_attributes (tree olddecl, tree newdecl)
4483 tree newopts = lookup_attribute ("target", DECL_ATTRIBUTES (newdecl));
4487 tree newtree = DECL_FUNCTION_SPECIFIC_TARGET (newdecl);
4495 DECL_NAME (newdecl), "target");
4499 DECL_ATTRIBUTES (newdecl));
  /src/external/gpl3/gcc/dist/gcc/config/nios2/
nios2.cc 4486 nios2_merge_decl_attributes (tree olddecl, tree newdecl)
4489 tree newopts = lookup_attribute ("target", DECL_ATTRIBUTES (newdecl));
4493 tree newtree = DECL_FUNCTION_SPECIFIC_TARGET (newdecl);
4501 DECL_NAME (newdecl), "target");
4505 DECL_ATTRIBUTES (newdecl));
  /src/external/gpl3/gcc.old/dist/gcc/config/riscv/
riscv.cc 5404 riscv_merge_decl_attributes (tree olddecl, tree newdecl)
5411 = riscv_get_interrupt_type (newdecl);
5421 DECL_ATTRIBUTES (newdecl));
  /src/external/gpl3/gcc.old/dist/gcc/config/nds32/
nds32.cc 3925 nds32_merge_decl_attributes (tree olddecl, tree newdecl)
3931 DECL_ATTRIBUTES (newdecl));
3933 /* Since newdecl is acutally a duplicate of olddecl,
  /src/external/gpl3/gcc/dist/gcc/config/nds32/
nds32.cc 3927 nds32_merge_decl_attributes (tree olddecl, tree newdecl)
3933 DECL_ATTRIBUTES (newdecl));
3935 /* Since newdecl is acutally a duplicate of olddecl,

Completed in 187 milliseconds

1 2