Searched refs:Specialization (Results 1 – 11 of 11) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 2524 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 …]
|
D | SemaTemplateDeduction.cpp | 2749 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 …]
|
D | SemaOverload.cpp | 6128 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 …]
|
D | SemaLookup.cpp | 732 FunctionDecl *Specialization = nullptr; in LookupDirect() local 751 Specialization, Info) in LookupDirect() 753 R.addDecl(Specialization); in LookupDirect()
|
D | SemaTemplateInstantiateDecl.cpp | 2391 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()
|
D | SemaDeclCXX.cpp | 7348 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/ |
D | TemplateDeduction.h | 228 Decl *Specialization; member 234 Specialization = Spec; in set()
|
D | Sema.h | 6097 FunctionDecl *&Specialization, 6106 FunctionDecl *&Specialization, 6114 FunctionDecl *&Specialization, 6121 CXXConversionDecl *&Specialization, 6127 FunctionDecl *&Specialization,
|
/external/clang/include/clang/AST/ |
D | DeclTemplate.h | 2195 Specialization(FD), HasExplicitTemplateArgs(Args), 2201 CXXMethodDecl *Specialization; 2206 CXXMethodDecl *getSpecialization() const { return Specialization; }
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 1918 D->Specialization = ReadDeclAs<CXXMethodDecl>(Record, Idx); in VisitClassScopeFunctionSpecializationDecl()
|
/external/clang/include/clang/Basic/ |
D | DiagnosticSemaKinds.td | 3542 // C++ Class Template Partial Specialization 3573 // C++ Variable Template Partial Specialization
|