Home
last modified time | relevance | path

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

/openbsd/src/gnu/gcc/gcc/cp/
Dname-lookup.c564 pushdecl_maybe_friend (tree x, bool is_friend) in pushdecl_maybe_friend() argument
702 if (duplicate_decls (x, t, is_friend)) in pushdecl_maybe_friend()
720 tree olddecl = duplicate_decls (x, t, is_friend); in pushdecl_maybe_friend()
766 t = push_overloaded_decl (x, PUSH_LOCAL, is_friend); in pushdecl_maybe_friend()
777 t = push_overloaded_decl (x, PUSH_GLOBAL, is_friend); in pushdecl_maybe_friend()
840 && is_friend in pushdecl_maybe_friend()
1841 pushdecl_with_scope (tree x, cxx_scope *level, bool is_friend) in pushdecl_with_scope() argument
1859 x = pushdecl_maybe_friend (x, is_friend); in pushdecl_with_scope()
1888 push_overloaded_decl (tree decl, int flags, bool is_friend) in push_overloaded_decl() argument
1929 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.
DChangeLog1488 * friend.c (is_friend): Fix DR 45 implementation.
4545 is_friend parameter. Set DECL_ANTICIPATED and
4548 (pushdecl_with_scope): Add is_friend parameter. Change prototype
4556 (pushdecl_top_level_1): Add is_friend parameter. Change all
4573 * pt.c (register_specialization): Add is_friend parameter. Change
4575 (push_template_decl_real): Change is_friend parameter to bool.
6303 from globalize to is_friend.
Dparser.c10142 bool is_friend, in cp_parser_elaborated_type_specifier() argument
10286 (decl, /*tag_name_p=*/is_friend in cp_parser_elaborated_type_specifier()
10358 if (is_friend) in cp_parser_elaborated_type_specifier()
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.h4040 extern int is_friend (tree, tree);
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
/openbsd/src/gnu/usr.bin/gcc/gcc/cp/
Dfriend.c36 is_friend (type, supplicant) in is_friend() function
126 return is_friend (type, context);
Dpt.c1499 int is_friend = flags & 4; local
1519 if (is_friend)
1578 && !is_friend)
1694 my_friendly_assert (is_friend != 0, 0);
1858 if (is_friend && !have_def)
2699 push_template_decl_real (decl, is_friend) in push_template_decl_real() argument
2701 int is_friend;
2716 is_friend |= (TREE_CODE (decl) == FUNCTION_DECL && DECL_FRIEND_P (decl));
2718 if (is_friend)
2772 || (is_friend && !DECL_TEMPLATE_INFO (decl)))
[all …]
Dsearch.c848 && !is_friend (BINFO_TYPE (BINFO_INHERITANCE_CHAIN (binfo)),
870 && is_friend (BINFO_TYPE (binfo), current_scope ()))
DChangeLog.25894 * friend.c (is_friend): Use FRIEND_NAME and FRIEND_DECLS.
6197 * friend.c (is_friend): Add comment.
7654 * friend.c (is_friend): Likewise.
9631 * friend.c (is_friend): Be lenient with member functions to deal
9669 * friend.c (is_friend): Don't compare types of decls to determine
10808 * friend.c (is_friend): Use comptypes, rather than == to compare
11554 * friend.c (is_friend): A namespace is not a context, here.
11758 * friend.c (is_friend): Use is_specialization_of where
12080 * friend.c (is_friend): Fix access control for local classes.
12122 * friend.c (is_friend): Don't pass a type to decl_function_context.
[all …]
Dcp-tree.h3978 extern int is_friend PARAMS ((tree, tree));
DChangeLog1879 * friend.c (is_friend): Always accept when SUPPLICANT is still
13274 * friend.c (is_friend): Likewise.
15024 * friend.c (is_friend): Likewise.
16037 * friend.c (is_friend): Likewise.
16158 * friend.c (is_friend): Nested classes are friends of their
DChangeLog.12243 * init.c (is_friend): Be more careful about checking
8531 * init.c (is_friend): Do the nesting thing, handle types. I am
8533 (is_friend_type): Become a shell for is_friend.