Home
last modified time | relevance | path

Searched refs:Specialization (Results 1 – 11 of 11) sorted by relevance

/external/clang/lib/Sema/
DSemaTemplate.cpp2524 VarTemplateSpecializationDecl *Specialization = nullptr; in ActOnVarTemplateSpecialization() local
2538 Specialization = PrevDecl; in ActOnVarTemplateSpecialization()
2539 Specialization->setLocation(TemplateNameLoc); in ActOnVarTemplateSpecialization()
2553 Specialization = Partial; in ActOnVarTemplateSpecialization()
2589 Specialization = VarTemplateSpecializationDecl::Create( in ActOnVarTemplateSpecialization()
2592 Specialization->setTemplateArgsInfo(TemplateArgs); in ActOnVarTemplateSpecialization()
2595 VarTemplate->AddSpecialization(Specialization, InsertPos); in ActOnVarTemplateSpecialization()
2627 Specialization->setTemplateKeywordLoc(TemplateKWLoc); in ActOnVarTemplateSpecialization()
2628 Specialization->setLexicalDeclContext(CurContext); in ActOnVarTemplateSpecialization()
2633 CurContext->addDecl(Specialization); in ActOnVarTemplateSpecialization()
[all …]
DSemaTemplateDeduction.cpp2749 FunctionDecl *&Specialization, in FinishTemplateArgumentDeduction() argument
2912 Specialization = cast_or_null<FunctionDecl>( in FinishTemplateArgumentDeduction()
2915 if (!Specialization || Specialization->isInvalidDecl()) in FinishTemplateArgumentDeduction()
2918 assert(Specialization->getPrimaryTemplate()->getCanonicalDecl() == in FinishTemplateArgumentDeduction()
2923 if (Specialization->getTemplateSpecializationArgs() == DeducedArgumentList && in FinishTemplateArgumentDeduction()
2931 Specialization->setInvalidDecl(true); in FinishTemplateArgumentDeduction()
2944 if (ParamIdx >= Specialization->getNumParams()) in FinishTemplateArgumentDeduction()
2947 QualType DeducedA = Specialization->getParamDecl(ParamIdx)->getType(); in FinishTemplateArgumentDeduction()
2959 Pos = SuppressedDiagnostics.find(Specialization->getCanonicalDecl()); in FinishTemplateArgumentDeduction()
2961 SuppressedDiagnostics[Specialization->getCanonicalDecl()] in FinishTemplateArgumentDeduction()
[all …]
DSemaOverload.cpp6128 FunctionDecl *Specialization = nullptr; in AddMethodTemplateCandidate() local
6131 Specialization, Info, PartialOverloading)) { in AddMethodTemplateCandidate()
6147 assert(Specialization && "Missing member function template specialization?"); in AddMethodTemplateCandidate()
6148 assert(isa<CXXMethodDecl>(Specialization) && in AddMethodTemplateCandidate()
6150 AddMethodCandidate(cast<CXXMethodDecl>(Specialization), FoundDecl, in AddMethodTemplateCandidate()
6179 FunctionDecl *Specialization = nullptr; in AddTemplateOverloadCandidate() local
6182 Specialization, Info, PartialOverloading)) { in AddTemplateOverloadCandidate()
6198 assert(Specialization && "Missing function template specialization?"); in AddTemplateOverloadCandidate()
6199 AddOverloadCandidate(Specialization, FoundDecl, Args, CandidateSet, in AddTemplateOverloadCandidate()
6429 CXXConversionDecl *Specialization = nullptr; in AddTemplateConversionCandidate() local
[all …]
DSemaLookup.cpp732 FunctionDecl *Specialization = nullptr; in LookupDirect() local
751 Specialization, Info) in LookupDirect()
753 R.addDecl(Specialization); in LookupDirect()
DSemaTemplateInstantiateDecl.cpp2391 FunctionDecl *Specialization = cast<FunctionDecl>(Previous.getFoundDecl()); in VisitClassScopeFunctionSpecializationDecl() local
2392 assert(Specialization && "Class scope Specialization is null"); in VisitClassScopeFunctionSpecializationDecl()
2393 SemaRef.Context.setClassScopeSpecializationPattern(Specialization, OldFD); in VisitClassScopeFunctionSpecializationDecl()
DSemaDeclCXX.cpp7348 ClassTemplateSpecializationDecl *Specialization = in isStdInitializerList() local
7350 if (!Specialization) in isStdInitializerList()
7353 Template = Specialization->getSpecializedTemplate(); in isStdInitializerList()
7354 Arguments = Specialization->getTemplateArgs().data(); in isStdInitializerList()
/external/clang/include/clang/Sema/
DTemplateDeduction.h228 Decl *Specialization; member
234 Specialization = Spec; in set()
DSema.h6097 FunctionDecl *&Specialization,
6106 FunctionDecl *&Specialization,
6114 FunctionDecl *&Specialization,
6121 CXXConversionDecl *&Specialization,
6127 FunctionDecl *&Specialization,
/external/clang/include/clang/AST/
DDeclTemplate.h2195 Specialization(FD), HasExplicitTemplateArgs(Args),
2201 CXXMethodDecl *Specialization;
2206 CXXMethodDecl *getSpecialization() const { return Specialization; }
/external/clang/lib/Serialization/
DASTReaderDecl.cpp1918 D->Specialization = ReadDeclAs<CXXMethodDecl>(Record, Idx); in VisitClassScopeFunctionSpecializationDecl()
/external/clang/include/clang/Basic/
DDiagnosticSemaKinds.td3542 // C++ Class Template Partial Specialization
3573 // C++ Variable Template Partial Specialization