Lines Matching defs:member

58    static data member), or a TYPE (for a class) indicating what we are
167 template, or VAR_DECL for static member variable (need by
209 /* Do any processing required when DECL (a member template
238 error ("data member %qD cannot be a member template", decl);
250 error ("invalid member template declaration %qD", decl);
377 /* Restore the template parameter context for a member template or
549 which the template is a member, or, for member templates, in the
551 template is a member. An explicit specialization of a member
552 function, member class or static data member of a class template
554 is a member. */
563 In an explicit specialization declaration for a member of a class
564 template or a member template that appears in namespace scope,
565 the member template and some of its enclosing class templates may
567 explicitly specialize a class member template if its enclosing
648 which the template is a member, or, for member templates, in the
650 template is a member. An explicit specialization of a member
651 function, member class or static data member of a class template
653 a member. */
732 /* This is for an explicit specialization of member class
738 Otherwise this is just a member class template declared
804 template arguments for the member function template apply
811 /* It is possible to have a template that is not a member
812 template and is not a member of a template class:
972 /* For [temp.friend/6] when FRIEND is an ordinary member function
995 A member of a class template may be declared to be a friend of a
996 non-template class. In this case, the corresponding member of
1004 the member function below is considered a friend
1197 instantiated a member function and then specialized
1356 specialization of a member template.
1436 member functions. Consider the following code:
1443 member function, whilst the second line specializes "f" which
1444 is a template member function. So both lines are syntactically
1452 plus there must be another header for the member template
1474 /* For a non-static member function, we need to make sure
1525 /* FN is an ordinary member function, and we need a
1526 specialization of a member template. */
1533 /* This is just an ordinary non-member function. Nothing can
1543 /* This is an ordinary member function. However, since
1564 /* Adjust the type of DECL in case FN is a static member. */
1642 /* It was a specialization of an ordinary member function in a
1923 /* This is a specialization of a member template, without
2040 If such an explicit specialization for the member
2042 special member function (clause _special_), the
2046 error ("specialization of implicitly-declared special member function");
2090 error ("no member function %qD declared in %qT", name, ctype);
2099 member function, we cannot tell apriori whether the
2100 instantiation is for a member template, or just a member
2101 function of a template class. Even if a member template is
2102 being instantiated, the member template arguments may be
2147 /* If we thought that the DECL was a member function, but it
2148 turns out to be specializing a static member function,
2149 make DECL a static member function as well. */
2154 /* If this is a specialization of a member template of a
2309 inline member templates. */
2590 a member template. Used by push_template_decl below. */
2862 in the template-parameter-list of the definition of a member of a
2867 scope, nor you can you define a member of a class template in a
2875 or a member function. */
2881 /* And, if it was a member function, it really was defined in
3034 /* True if the template is a member template, in the sense of
3060 is assumed to be a member of the class. */
3091 A destructor shall not be a member template. */
3092 error ("destructor %qD declared as member template", decl);
3165 /* A specialization of a member template of a template
3206 /* The declaration is a specialization of a member
3810 For a non-type template-parameter of type pointer to member function,
3812 overloaded member functions, the matching member function is selected
3842 For a non-type template-parameter of type pointer to data member,
3971 member function. That's usually
3998 pedwarn ("to refer to a type member of a template parameter, "
4235 /* For member templates */
4320 may be a member template. */
4847 /* This case is easy; there are no member templates involved. */
4851 /* This is a full instantiation of a member template. Look
4890 where C<T> is a member template of A<T> and it's used
5329 We must enter that scope, to avoid finding member functions of the
5684 tree template, args, pattern, t, member;
5838 for (member = CLASSTYPE_DECL_LIST (pattern);
5839 member; member = TREE_CHAIN (member))
5841 tree t = TREE_VALUE (member);
5843 if (TREE_PURPOSE (member))
5855 /* If the member is a class template, then -- even after
5876 instantiation (i.e., for the type of a member
5934 side-effects) of a static data member does
5935 not occur unless the static data member is
5937 definition of the static data member to
5941 initialized for the static data member here. */
6111 any member functions. We don't do this earlier because the
6116 /* Implicitly generated member functions will not have template
6368 member functions to be synthesized, which will result in garbage
6437 /* We can get here when processing a member function template,
6438 member class template, and template template parameter of
6566 int member;
6607 there was a specialization of a member template, like
6664 member = 2;
6666 member = 1;
6672 member = 0;
6692 if (member && DECL_CONV_FN_P (r))
6740 instantiated. We handle the member function case in
6743 if (!member
6767 /* If this is an instantiation of a member template, clone it.
6851 /* We reach here only for member using decls. */
6899 /* T is a static data member or namespace-scope entity.
6917 referencing a static data member within in its own
7027 /* A static data member declaration is always marked
7184 -- Attempting to create "pointer to member of T" when T
7187 error ("creating pointer to member function of non-class type %qT",
7412 member function templates. Otherwise ARG is a
7605 -- Attempting to create "pointer to member of T" when T
7608 error ("creating pointer to member of non-class type %qT", r);
7614 error ("creating pointer to member reference type %qT", type);
7620 error ("creating pointer to member of type void");
8025 /* However, if we're about to form a pointer-to-member, we just
8026 want the referenced member referenced. */
9236 /* If lookup found a member function, the Koenig lookup is
9313 tree member;
9322 member = TREE_OPERAND (t, 1);
9323 if (BASELINK_P (member))
9324 member = tsubst_baselink (member,
9328 member = tsubst_copy (member, args, complain, in_decl);
9329 if (member == error_mark_node)
9334 if (TREE_CODE (member) == BIT_NOT_EXPR)
9338 else if (TREE_CODE (member) == SCOPE_REF
9339 && (TREE_CODE (TREE_OPERAND (member, 1)) == BIT_NOT_EXPR))
9344 else if (TREE_CODE (member) == SCOPE_REF
9345 && TREE_CODE (TREE_OPERAND (member, 1)) == TEMPLATE_ID_EXPR)
9352 tmpl = TREE_OPERAND (TREE_OPERAND (member, 1), 0);
9353 args = TREE_OPERAND (TREE_OPERAND (member, 1), 1);
9354 member = lookup_qualified_name (TREE_OPERAND (member, 0), tmpl,
9357 if (BASELINK_P (member))
9359 BASELINK_FUNCTIONS (member)
9360 = build_nt (TEMPLATE_ID_EXPR, BASELINK_FUNCTIONS (member),
9362 member = (adjust_result_of_qualified_name_lookup
9363 (member, BINFO_TYPE (BASELINK_BINFO (member)),
9368 qualified_name_lookup_error (object_type, tmpl, member);
9372 else if (TREE_CODE (member) == SCOPE_REF
9373 && !CLASS_TYPE_P (TREE_OPERAND (member, 0))
9374 && TREE_CODE (TREE_OPERAND (member, 0)) != NAMESPACE_DECL)
9378 if (TYPE_P (TREE_OPERAND (member, 0)))
9380 TREE_OPERAND (member, 0));
9383 TREE_OPERAND (member, 0));
9387 else if (TREE_CODE (member) == FIELD_DECL)
9388 return finish_non_static_data_member (member, object, NULL_TREE);
9390 return finish_class_member_access_expr (object, member,
9986 function or pointer to member function argument if
10074 /* Handle `&x' where `x' is some static or non-static member
10125 to function or pointer to member function argument if the set of
10168 to function or pointer to member function argument if the set of
10682 /* A pointer-to-member constant can be unified only with
10687 /* Just unify the class member. It would be useless (and possibly
10708 A can be another pointer or pointer to member type that can
10926 /* Unify a pointer to member with a pointer to member function, which
10927 deduces the type of the member as a function type. */
10948 /* Extract the cv-qualifiers of the member function from the
11020 /* Called if RESULT is explicitly instantiated, or is a member of an
11103 /* Remove the this parameter from non-static member functions. If
11104 one is a non-static member function and the other is not a static
11105 member function, remove the first parameter from that function
11107 locate both a member function (with this pointer) and non-member
11760 /* Called from do_type_instantiation to instantiate a member
11761 (a member function or a static member variable) of an
11879 Of course, we can't instantiate member template classes, since
12063 EXPL_INST_CLASS_MEM_P is true iff D is a member of an
12084 functions and static member variables. */
12132 /* We should never be trying to instantiate a member of a class
12165 /* If D is a member of an explicitly instantiated class template,
12225 /* If this is a static data member that will be defined
12227 member, but we do want to instantiate the initializer so that
12231 /* The definition of the static data member is now required so
12263 non-exported member function template, or a non-exported
12264 member function or static data member of a class template
12512 either base class or a non-static data member. The TREE_PURPOSEs
13225 /* So are member templates of dependent classes. */