Searched refs:getPrimaryTemplate (Results 1 – 17 of 17) sorted by relevance
111 Template = Function->getPrimaryTemplate(); in clang_getSpecializedCursorTemplate()
4416 if (Function->getPrimaryTemplate()) in clang_getCursorDisplayName()
605 if (Conversion->getPrimaryTemplate()) { in addedMember()1554 if (getPrimaryTemplate()) in isUsualDeallocationFunction()1595 /*non-template*/getPrimaryTemplate() || getDescribedFunctionTemplate() || in isCopyAssignmentOperator()1615 getPrimaryTemplate() || getDescribedFunctionTemplate() || in isMoveAssignmentOperator()1693 return StaticInvoker == this->getPrimaryTemplate()->getTemplatedDecl(); in isLambdaStaticInvoker()1885 (getPrimaryTemplate() != nullptr) || in isCopyOrMoveConstructor()
3144 assert(getPrimaryTemplate() && "A generic lambda specialization must be " in getTemplateInstantiationPattern()3147 assert(getPrimaryTemplate()->getTemplatedDecl()->getBody() && in getTemplateInstantiationPattern()3151 return getPrimaryTemplate()->getTemplatedDecl(); in getTemplateInstantiationPattern()3154 if (FunctionTemplateDecl *Primary = getPrimaryTemplate()) { in getTemplateInstantiationPattern()3169 FunctionTemplateDecl *FunctionDecl::getPrimaryTemplate() const { in getPrimaryTemplate() function in FunctionDecl3337 if (FunctionTemplateDecl *FunTmpl = getPrimaryTemplate()) { in isOutOfLine()
105 if (const FunctionTemplateDecl *ftd = fn->getPrimaryTemplate()) in getStructor()733 if (FunctionTemplateDecl *PrimaryTemplate = FD->getPrimaryTemplate()) { in mangleFunctionEncodingBareType()777 if (const TemplateDecl *TD = FD->getPrimaryTemplate()) { in isTemplate()
109 if (const auto *FTD = FD->getPrimaryTemplate()) in getStructor()700 if (const TemplateDecl *TD = FD->getPrimaryTemplate()) { in isTemplate()
275 if (const FunctionTemplateDecl *FTD = FD->getPrimaryTemplate()) in adjustDeclToTemplate()
2910 assert(Specialization->getPrimaryTemplate()->getCanonicalDecl() == in FinishTemplateArgumentDeduction()4449 = cast<FunctionDecl>(*Best)->getPrimaryTemplate(); in getMostSpecialized()4453 = cast<FunctionDecl>(*I)->getPrimaryTemplate(); in getMostSpecialized()4468 = cast<FunctionDecl>(*I)->getPrimaryTemplate(); in getMostSpecialized()4491 cast<FunctionDecl>(*I)->getPrimaryTemplate()->getTemplateParameters(), in getMostSpecialized()
142 assert(Function->getPrimaryTemplate() && "No function template?"); in getTemplateInstantiationArgs()143 if (Function->getPrimaryTemplate()->isMemberSpecialization()) in getTemplateInstantiationArgs()413 if (Function->getPrimaryTemplate()) in PrintInstantiationStack()
6510 if (Conversion->getPrimaryTemplate() && in AddConversionCandidate()8468 if (FunctionTemplateDecl *FunTmpl = Cand->Function->getPrimaryTemplate()) in AddArgumentDependentLookupCandidates()8627 Cand1.Function->getPrimaryTemplate(); in isBetterOverloadCandidate()8629 Cand2.Function->getPrimaryTemplate(); in isBetterOverloadCandidate()8639 = S.getMoreSpecializedTemplate(Cand1.Function->getPrimaryTemplate(), in isBetterOverloadCandidate()8640 Cand2.Function->getPrimaryTemplate(), in isBetterOverloadCandidate()8646 return BetterTemplate == Cand1.Function->getPrimaryTemplate(); in isBetterOverloadCandidate()8869 if (FunctionTemplateDecl *FunTmpl = Fn->getPrimaryTemplate()) { in ClassifyOverloadCandidate()9721 << (Fn->getPrimaryTemplate() ? 1 : 0); in NoteFunctionCandidate()10573 if (Matches[I].second->getPrimaryTemplate() == nullptr) in EliminateAllTemplateMatches()
6950 if (Specialization->getPrimaryTemplate()->isConcept()) { in CheckFunctionTemplateSpecialization()6982 Specialization->getPrimaryTemplate(), in CheckFunctionTemplateSpecialization()7032 Specialization->getPrimaryTemplate(), TemplArgs, /*InsertPos=*/nullptr, in CheckFunctionTemplateSpecialization()8081 FunctionTemplateDecl *FunTmpl = Specialization->getPrimaryTemplate(); in ActOnExplicitInstantiation()8692 if (auto *TD = FD->getPrimaryTemplate()) in checkInstantiated()
520 FunctionTemplateDecl *FTD = (*I)->getPrimaryTemplate(); in MatchesFriend()
3568 if (Function->getPrimaryTemplate()) in InstantiateFunctionDefinition()3571 << Function->getPrimaryTemplate(); in InstantiateFunctionDefinition()
1914 if (FunctionTemplateDecl *FunTmpl = D->getPrimaryTemplate()) { in NoteForRangeBeginEndFunction()
11976 TpDecl = FnDecl->getPrimaryTemplate(); in CheckLiteralOperatorDeclaration()
2158 return getPrimaryTemplate() != nullptr; in isFunctionTemplateSpecialization()2189 FunctionTemplateDecl *getPrimaryTemplate() const;
6279 if (auto *Template = FD->getPrimaryTemplate()) in CompleteRedeclChain()