Lines Matching defs:Specialization
50 // and the other a specialization), make sure DiagnoseUseOfDecl is
5932 /// function template specialization.
5956 FunctionDecl *Specialization = nullptr;
5959 Specialization, Info)) {
5973 // Add the function template specialization produced by template argument
5975 assert(Specialization && "Missing member function template specialization?");
5976 assert(isa<CXXMethodDecl>(Specialization) &&
5977 "Specialization is not a member function?");
5978 AddMethodCandidate(cast<CXXMethodDecl>(Specialization), FoundDecl,
5983 /// \brief Add a C++ function template specialization as a candidate
5985 /// an appropriate function template specialization.
6006 FunctionDecl *Specialization = nullptr;
6009 Specialization, Info)) {
6023 // Add the function template specialization produced by template argument
6025 assert(Specialization && "Missing function template specialization?");
6026 AddOverloadCandidate(Specialization, FoundDecl, Args, CandidateSet,
6196 // If the user-defined conversion is specified by a specialization of a
6237 /// \brief Adds a conversion function template specialization
6256 CXXConversionDecl *Specialization = nullptr;
6259 Specialization, Info)) {
6273 // Add the conversion function template specialization produced by
6275 assert(Specialization && "Missing function template specialization?");
6276 AddConversionCandidate(Specialization, FoundDecl, ActingDC, From, ToType,
8270 // specialization, or, if not that,
9512 return Cand->Specialization ? Cand->Specialization->getLocation()
9551 DiagnoseBadDeduction(S, Specialization, // pattern
9566 /// NoteCandidates - When no template specialization match is found, prints
9578 if (Cand->Specialization)
9603 assert(Cand->Specialization &&
9744 // function template specialization, which is added to the set of
9746 FunctionDecl *Specialization = nullptr;
9751 TargetFunctionType, Specialization,
9763 Specialization = cast<FunctionDecl>(Specialization->getCanonicalDecl());
9765 Context.getCanonicalType(Specialization->getType()),
9767 Matches.push_back(std::make_pair(CurAccessFunPair, Specialization));
9845 // [...] and any given function template specialization F1 is
9847 // specialization whose function template is more specialized
10054 // identifies a single function template specialization, then the
10055 // template-id is an lvalue for the function template specialization.
10063 // function template specialization, which is added to the set of
10065 FunctionDecl *Specialization = nullptr;
10069 Specialization, Info,
10079 assert(Specialization && "no specialization and no error?");
10091 Matched = Specialization;
10107 // because it identifies a single function template specialization.
11451 // and the other a specialization), make sure DiagnoseUseOfDecl is