Home
last modified time | relevance | path

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

/openbsd/gnu/gcc/gcc/cp/
H A 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()
840 && is_friend in pushdecl_maybe_friend()
1859 x = pushdecl_maybe_friend (x, is_friend); in pushdecl_with_scope()
1929 dup = duplicate_decls (decl, fn, is_friend); in push_overloaded_decl()
3206 pushdecl_namespace_level (tree x, bool is_friend) in pushdecl_namespace_level() argument
3403 x = pushdecl_namespace_level (x, is_friend); in pushdecl_top_level_1()
3423 return pushdecl_top_level_1 (x, NULL, is_friend); in pushdecl_top_level_maybe_friend()
4312 if (is_friend (type, fn)) in friend_of_associated_class_p()
4323 if (is_friend (BINFO_TYPE (base_binfo), fn)) in friend_of_associated_class_p()
[all …]
H A Dfriend.c39 is_friend (tree type, tree supplicant) in is_friend() function
119 return is_friend (type, context); in is_friend()
H A Dpt.c1216 duplicate_decls (spec, fn, is_friend); 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()
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()
3049 if (is_friend) in push_template_decl_real()
3070 if (is_friend && ctx) in push_template_decl_real()
3134 || (is_friend && !DECL_TEMPLATE_INFO (decl))) in push_template_decl_real()
[all …]
H A 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()
H A 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.
H A 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.
H A 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()
H A 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
H A Dcp-tree.h4040 extern int is_friend (tree, tree);
H A 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.
H A DChangeLog-2004948 (dfs_accessible_post): Do not pass namespaces to is_friend.
1036 * friend.c (is_friend): Call is_specialization_of_friend for
H A DChangeLog-19945091 * init.c (is_friend): Do the nesting thing, handle types. I am
5093 (is_friend_type): Become a shell for is_friend.
H A DChangeLog-19995894 * friend.c (is_friend): Use FRIEND_NAME and FRIEND_DECLS.
6197 * friend.c (is_friend): Add comment.
H A DChangeLog-19952594 * init.c (is_friend): Be more careful about checking
H A DChangeLog-2003571 * friend.c (is_friend): Handle member function of a class
/openbsd/gnu/usr.bin/gcc/gcc/cp/
H A Dfriend.c36 is_friend (type, supplicant) in is_friend() function
126 return is_friend (type, context);
H A 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 …]
H A Dsearch.c848 && !is_friend (BINFO_TYPE (BINFO_INHERITANCE_CHAIN (binfo)),
870 && is_friend (BINFO_TYPE (binfo), current_scope ()))
H A 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.
12129 * friend.c (is_friend): Local classes have the same access as the
[all …]
H A Dcp-tree.h3978 extern int is_friend PARAMS ((tree, tree));
H A 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
H A 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.