Lines Matching refs:Function
175 // We assume that we'll preserve the qualifier from a function
280 // or function template.
608 // -- pointer to object or pointer to function,
610 // -- reference to object or reference to function,
623 // "function returning T" is adjusted to be of type "pointer to
624 // T" or "pointer to function returning T", respectively.
893 // [...] When looking for a prior declaration of a class or a function
895 // function is neither a qualified name nor a template-id, scopes outside
966 // template, class, function, object, enumeration, enumerator,
1100 // function template declaration or a function template
1102 // If a friend function template declaration specifies a default
1104 // the only declaration of the function template in the translation unit.
1130 // for friend function templates if there is only a single
1193 // declarations in scope in the same way default function
2195 // foo<int> could identify a single function unambiguously
3343 /// of an object or function according to C++ [temp.arg.nontype]p1.
3362 // -- the address of an object or function with external
3363 // linkage, including function templates and function
3366 // the name refers to a function or array, or if the
3461 // Okay: we've named a function with external linkage.
3464 // If the template parameter has pointer type, the function decays.
3596 // function with external linkage. We now need to check whether the
3778 // If, in the declaration of a function template with a non-type
3780 // in an expression in the function parameter-list and, if the
3874 // function, or pointer-to-member, respectively.
3888 // Handle pointer-to-function, reference-to-function, and
3889 // pointer-to-member-function all in (roughly) the same way.
3891 // function, only the function-to-pointer conversion (4.3) is
3894 // function is selected from the set (13.4).
3898 // function, no conversions apply. If the template-argument
3900 // function is selected from the set (13.4).
3904 // member function, no conversions apply. If the
3906 // functions, the matching member function is selected from
4055 "Only function templates are possible here");
4478 if (FunctionDecl *Function = dyn_cast<FunctionDecl>(D))
4479 return Function->getTemplateSpecializationKind();
4496 /// may be a kind of template (class template, function template, etc.) or
4497 /// a member of a class template (member function, static data member,
4539 // function, member class or static data member of a class
4583 // An explicit specialization of a member function, member class or
4618 // specializations of function templates, static data members, and member
5188 assert(getCurFunctionDecl() == 0 && "Function parsing confused");
5204 if (FunctionDecl *Function = dyn_cast_or_null<FunctionDecl>(DP))
5205 return ActOnStartOfFunctionDef(FnBodyScope, Function);
5388 /// \brief Perform semantic analysis for the given dependent function
5390 /// function template specialization is with a friend declaration,
5404 // Remove anything from Previous that isn't a function template in
5425 /// \brief Perform semantic analysis for the given function template
5429 /// explicit function template specialization. On successful completion,
5430 /// the function declaration \p FD will become a function template
5433 /// \param FD the function declaration, which will be updated to become a
5434 /// function template specialization.
5442 /// this function specialization.
5447 // The set of function template specializations that could match this
5448 // explicit function template specialization.
5464 // template-id naming an explicit function template specialization
5465 // provided it can be deduced from the function argument type.
5487 // Find the most specialized function template.
5504 assert(SpecInfo && "Function template specialization info missing?");
5550 // Turn the given functionfunction template
5562 // The "previous declaration" for this function template specialization is
5563 // the prior function template specialization.
5573 /// explicit member function specialization. On successful completion,
5574 /// the function declaration \p FD will become a member function
5581 /// by this function specialization; the set will be modified to contain the
5594 } else if (FunctionDecl *Function = dyn_cast<FunctionDecl>(Member)) {
5599 if (Context.hasSameType(Function->getType(), Method->getType())) {
5796 // If the explicit instantiation is for a member function, a member class
6176 // [...] An explicit instantiation of a function template shall not use the
6233 // If the explicit instantiation is for a member function, a member class
6285 // A [...] function [...] can be explicitly instantiated from its template.
6286 // A member function [...] of a class template can be explicitly
6323 // Find the most specialized function template specialization.
6372 // If the explicit instantiation is for a member function, a member class
6700 /// This function will rebuild the type, performing the lookup of "pointer"