Home
last modified time | relevance | path

Searched refs:getPrimaryTemplate (Results 1 – 17 of 17) sorted by relevance

/external/clang/tools/libclang/
DCIndexCXX.cpp111 Template = Function->getPrimaryTemplate(); in clang_getSpecializedCursorTemplate()
DCIndex.cpp4416 if (Function->getPrimaryTemplate()) in clang_getCursorDisplayName()
/external/clang/lib/AST/
DDeclCXX.cpp605 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()
DDecl.cpp3144 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 FunctionDecl
3337 if (FunctionTemplateDecl *FunTmpl = getPrimaryTemplate()) { in isOutOfLine()
DItaniumMangle.cpp105 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()
DMicrosoftMangle.cpp109 if (const auto *FTD = FD->getPrimaryTemplate()) in getStructor()
700 if (const TemplateDecl *TD = FD->getPrimaryTemplate()) { in isTemplate()
DASTContext.cpp275 if (const FunctionTemplateDecl *FTD = FD->getPrimaryTemplate()) in adjustDeclToTemplate()
/external/clang/lib/Sema/
DSemaTemplateDeduction.cpp2910 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()
DSemaTemplateInstantiate.cpp142 assert(Function->getPrimaryTemplate() && "No function template?"); in getTemplateInstantiationArgs()
143 if (Function->getPrimaryTemplate()->isMemberSpecialization()) in getTemplateInstantiationArgs()
413 if (Function->getPrimaryTemplate()) in PrintInstantiationStack()
DSemaOverload.cpp6510 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()
DSemaTemplate.cpp6950 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()
DSemaAccess.cpp520 FunctionTemplateDecl *FTD = (*I)->getPrimaryTemplate(); in MatchesFriend()
DSemaTemplateInstantiateDecl.cpp3568 if (Function->getPrimaryTemplate()) in InstantiateFunctionDefinition()
3571 << Function->getPrimaryTemplate(); in InstantiateFunctionDefinition()
DSemaStmt.cpp1914 if (FunctionTemplateDecl *FunTmpl = D->getPrimaryTemplate()) { in NoteForRangeBeginEndFunction()
DSemaDeclCXX.cpp11976 TpDecl = FnDecl->getPrimaryTemplate(); in CheckLiteralOperatorDeclaration()
/external/clang/include/clang/AST/
DDecl.h2158 return getPrimaryTemplate() != nullptr; in isFunctionTemplateSpecialization()
2189 FunctionTemplateDecl *getPrimaryTemplate() const;
/external/clang/lib/Serialization/
DASTReader.cpp6279 if (auto *Template = FD->getPrimaryTemplate()) in CompleteRedeclChain()