Home
last modified time | relevance | path

Searched refs:is_friend (Results 1 – 15 of 15) sorted by relevance

/freebsd-12-stable/contrib/gcc/cp/
Dname-lookup.c559 pushdecl_maybe_friend (tree x, bool is_friend) in pushdecl_maybe_friend() argument
697 if (duplicate_decls (x, t, is_friend)) in pushdecl_maybe_friend()
715 tree olddecl = duplicate_decls (x, t, is_friend); in pushdecl_maybe_friend()
761 t = push_overloaded_decl (x, PUSH_LOCAL, is_friend); in pushdecl_maybe_friend()
772 t = push_overloaded_decl (x, PUSH_GLOBAL, is_friend); in pushdecl_maybe_friend()
835 && is_friend in pushdecl_maybe_friend()
1838 pushdecl_with_scope (tree x, cxx_scope *level, bool is_friend) in pushdecl_with_scope() argument
1856 x = pushdecl_maybe_friend (x, is_friend); in pushdecl_with_scope()
1885 push_overloaded_decl (tree decl, int flags, bool is_friend) in push_overloaded_decl() argument
1926 dup = duplicate_decls (decl, fn, is_friend); in push_overloaded_decl()
[all …]
Dfriend.c39 is_friend (tree type, tree supplicant) in is_friend() function
119 return is_friend (type, context); in is_friend()
Dpt.c1148 register_specialization (tree spec, tree tmpl, tree args, bool is_friend) in register_specialization() argument
1216 duplicate_decls (spec, fn, is_friend); in register_specialization()
1241 if (!duplicate_decls (spec, fn, is_friend) && DECL_INITIAL (spec)) in register_specialization()
1824 int is_friend = flags & 4; in check_explicit_specialization() local
1832 if (is_friend) in check_explicit_specialization()
1852 if (is_friend) in check_explicit_specialization()
2200 if (is_friend && !have_def) in check_explicit_specialization()
2213 decl = register_specialization (decl, gen_tmpl, targs, is_friend); in check_explicit_specialization()
3025 push_template_decl_real (tree decl, bool is_friend) in push_template_decl_real() argument
3047 is_friend = true; in push_template_decl_real()
[all …]
Dsearch.c836 && is_friend (BINFO_TYPE (binfo), scope)) in dfs_accessible_post()
1746 || !is_friend (BINFO_TYPE (binfo), scope)) in dfs_walk_once_accessible_r()
DChangeLog-1998866 * friend.c (is_friend): Likewise.
2843 * friend.c (is_friend): Be lenient with member functions to deal
2881 * friend.c (is_friend): Don't compare types of decls to determine
4020 * friend.c (is_friend): Use comptypes, rather than == to compare
4766 * friend.c (is_friend): A namespace is not a context, here.
4970 * friend.c (is_friend): Use is_specialization_of where
5292 * friend.c (is_friend): Fix access control for local classes.
5334 * friend.c (is_friend): Don't pass a type to decl_function_context.
5341 * friend.c (is_friend): Local classes have the same access as the
6033 * friend.c (is_friend): Handle TEMPLATE_DECL friends.
DChangeLog1557 * friend.c (is_friend): Fix DR 45 implementation.
4614 is_friend parameter. Set DECL_ANTICIPATED and
4617 (pushdecl_with_scope): Add is_friend parameter. Change prototype
4625 (pushdecl_top_level_1): Add is_friend parameter. Change all
4642 * pt.c (register_specialization): Add is_friend parameter. Change
4644 (push_template_decl_real): Change is_friend parameter to bool.
6372 from globalize to is_friend.
DChangeLog-20003402 * friend.c (is_friend): Likewise.
5152 * friend.c (is_friend): Likewise.
6165 * friend.c (is_friend): Likewise.
6286 * friend.c (is_friend): Nested classes are friends of their
Dcp-tree.h4091 extern int is_friend (tree, tree);
Dparser.c10560 bool is_friend, in cp_parser_elaborated_type_specifier() argument
10710 (decl, /*tag_name_p=*/is_friend in cp_parser_elaborated_type_specifier()
10782 if (is_friend) in cp_parser_elaborated_type_specifier()
DChangeLog-19963678 * init.c (is_friend): Make sure there's a context before we see if
3683 * init.c (is_friend): Classes are not friendly with nested classes.
DChangeLog-2004948 (dfs_accessible_post): Do not pass namespaces to is_friend.
1036 * friend.c (is_friend): Call is_specialization_of_friend for
DChangeLog-19945091 * init.c (is_friend): Do the nesting thing, handle types. I am
5093 (is_friend_type): Become a shell for is_friend.
DChangeLog-19995894 * friend.c (is_friend): Use FRIEND_NAME and FRIEND_DECLS.
6197 * friend.c (is_friend): Add comment.
DChangeLog-19952594 * init.c (is_friend): Be more careful about checking
DChangeLog-2003571 * friend.c (is_friend): Handle member function of a class