Home
last modified time | relevance | path

Searched refs:getTemplatedDecl (Results 1 – 25 of 59) sorted by relevance

123

/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFindingAction.cpp135 addUSRsOfCtorDtors(TemplateDecl->getTemplatedDecl()); in handleClassTemplateDecl()
140 USRSet.insert(getUSRForDecl(FTD->getTemplatedDecl())); in handleFunctionTemplateDecl()
147 USRSet.insert(getUSRForDecl(VTD->getTemplatedDecl())); in handleVarTemplateDecl()
174 dyn_cast<CXXConstructorDecl>(FTD->getTemplatedDecl())) in addUSRsOfCtorDtors()
H A DUSRLocFinder.cpp198 Decl = TAT->getTemplatedDecl(); in VisitNamedDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp64 if (const NamedDecl *TTD = TD->getTemplatedDecl()) in handleTemplateArgumentLoc()
211 const CXXRecordDecl *Pattern = CTD->getTemplatedDecl(); in gatherTemplatePseudoOverrides()
215 ND = CTD->getTemplatedDecl(); in gatherTemplatePseudoOverrides()
251 Base->getTemplatedDecl())); in VisitFunctionDecl()
279 IndexCtx.handleReference(Guide->getDeducedTemplate()->getTemplatedDecl(), in VisitFunctionDecl()
676 const NamedDecl *Parent = D->getTemplatedDecl(); in VisitTemplateDecl()
H A DIndexingContext.cpp218 return SD->getSpecializedTemplate()->getTemplatedDecl(); in adjustTemplateImplicitInstantiation()
304 if (auto TTD = TD->getTemplatedDecl()) { in getCanonicalDecl()
H A DIndexSymbol.cpp104 D = VT->getTemplatedDecl(); in getSymbolInfo()
292 cast<FunctionTemplateDecl>(D)->getTemplatedDecl())) { in getSymbolInfo()
H A DIndexTypeSourceInfo.cpp214 CXXRecordDecl *RD = TD->getTemplatedDecl(); in VisitDependentNameTypeLoc()
H A DUSRGeneration.cpp373 VisitFunctionDecl(D->getTemplatedDecl()); in VisitFunctionTemplateDecl()
377 VisitTagDecl(D->getTemplatedDecl()); in VisitClassTemplateDecl()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DCxxModuleHandler.cpp276 new_class_template->getTemplatedDecl()->getTagKind(), in tryInstantiateStdTemplate()
278 new_class_template->getTemplatedDecl()->getLocation(), in tryInstantiateStdTemplate()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DASTLambda.h57 dyn_cast_or_null<CXXConversionDecl>(F->getTemplatedDecl())) in isLambdaConversionOperator()
H A DDeclTemplate.h431 NamedDecl *getTemplatedDecl() const { return TemplatedDecl; } in getTemplatedDecl() function
1029 FunctionDecl *getTemplatedDecl() const {
1036 return getTemplatedDecl()->isThisDeclarationADefinition();
2291 CXXRecordDecl *getTemplatedDecl() const {
2298 return getTemplatedDecl()->isThisDeclarationADefinition();
2537 TypeAliasDecl *getTemplatedDecl() const {
3120 VarDecl *getTemplatedDecl() const {
3127 return getTemplatedDecl()->isThisDeclarationADefinition();
H A DASTNodeTraverser.h527 Visit(D->getTemplatedDecl()); in dumpTemplateDecl()
541 Visit(D->getTemplatedDecl()); in VisitTypeAliasTemplateDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DDeclPrinter.cpp460 if (TD->getTemplatedDecl()->isThisDeclarationADefinition()) in VisitDeclContext()
485 cast<FunctionTemplateDecl>(*D)->getTemplatedDecl()->doesThisDeclarationHaveABody()))) in VisitDeclContext()
1143 } else if (auto *TD = D->getTemplatedDecl()) in VisitTemplateDecl()
1153 prettyPrintPragmas(D->getTemplatedDecl()); in VisitFunctionTemplateDecl()
1155 if (const FunctionDecl *FD = D->getTemplatedDecl()) { in VisitFunctionTemplateDecl()
1163 if (D->getTemplatedDecl()->hasAttr<OMPDeclareTargetDeclAttr>()) in VisitFunctionTemplateDecl()
1169 !isa<CXXDeductionGuideDecl>(D->getTemplatedDecl())) { in VisitFunctionTemplateDecl()
1170 FunctionDecl *PrevDecl = D->getTemplatedDecl(); in VisitFunctionTemplateDecl()
H A DComment.cpp266 const FunctionDecl *FD = FTD->getTemplatedDecl(); in fill()
347 TypeAliasDecl *TAD = TAT->getTemplatedDecl(); in fill()
H A DDecl.cpp616 D = TD->getTemplatedDecl(); in getStorageClass()
992 explicitSpecSuppressor = spec->getTemplate()->getTemplatedDecl(); in getLVForClassMember()
1006 explicitSpecSuppressor = temp->getTemplatedDecl(); in getLVForClassMember()
1045 explicitSpecSuppressor = temp->getTemplatedDecl(); in getLVForClassMember()
1152 const auto *TD = spec->getSpecializedTemplate()->getTemplatedDecl(); in getExplicitVisibilityAux()
1202 return getVisibilityOf(TD->getTemplatedDecl(), kind); in getExplicitVisibilityAux()
2555 return getDefinitionOrSelf(VTD->getTemplatedDecl()); in getTemplateInstantiationPattern()
2580 return getDefinitionOrSelf(VarTemplate->getTemplatedDecl()); in getTemplateInstantiationPattern()
3735 return getDefinitionOrSelf(getPrimaryTemplate()->getTemplatedDecl()); in getTemplateInstantiationPattern()
3765 return getDefinitionOrSelf(Primary->getTemplatedDecl()); in getTemplateInstantiationPattern()
[all …]
H A DCXXInheritance.cpp259 BaseRecord = TD->getTemplatedDecl(); in lookupInBases()
426 CXXRecordDecl *RD = TD->getTemplatedDecl(); in findOrdinaryMemberInDependentClasses()
H A DASTDumper.cpp130 Visit(D->getTemplatedDecl()); in dumpTemplateDecl()
H A DASTStructuralEquivalence.cpp1789 return IsStructurallyEquivalent(Context, D1->getTemplatedDecl(), in IsStructurallyEquivalent()
1790 D2->getTemplatedDecl()); in IsStructurallyEquivalent()
1801 return IsStructurallyEquivalent(Context, D1->getTemplatedDecl()->getType(), in IsStructurallyEquivalent()
1802 D2->getTemplatedDecl()->getType()); in IsStructurallyEquivalent()
H A DODRHash.cpp429 AddDecl(D->getTemplatedDecl()); in VisitFunctionTemplateDecl()
430 ID.AddInteger(D->getTemplatedDecl()->getODRHash()); in VisitFunctionTemplateDecl()
H A DDeclCXX.cpp707 D = FunTmpl->getTemplatedDecl(); in addedMember()
714 DUnderlying = UnderlyingFunTmpl->getTemplatedDecl(); in addedMember()
1517 return cast<CXXMethodDecl>(CallOpTmpl->getTemplatedDecl()); in getLambdaCallOperator()
1538 return cast<CXXMethodDecl>(InvokerTemplate->getTemplatedDecl()); in getInvokerAsMethod()
1860 return GetDefinitionOrSelf(CTD->getTemplatedDecl()); in getTemplateInstantiationPattern()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp96 DC = cast<DeclContext>(DGD->getDeducedTemplate()->getTemplatedDecl()); in EffectiveContext()
416 Context->getTemplatedDecl(), in MightInstantiateTo()
417 Friend->getTemplatedDecl()); in MightInstantiateTo()
1089 cast<FunctionTemplateDecl>(D)->getTemplatedDecl()))) { in TryDiagnoseProtectedAccess()
1494 if (isa<DeclContext>(TD->getTemplatedDecl())) in HandleDelayedAccessCheck()
1495 DC = cast<DeclContext>(TD->getTemplatedDecl()); in HandleDelayedAccessCheck()
H A DSemaTemplate.cpp901 D = Temp->getTemplatedDecl(); in AdjustDeclIfTemplate()
2141 CXXRecordDecl *Primary = Template->getTemplatedDecl();
2540 ->getTemplatedDecl()) in DeclareImplicitDeductionGuides()
3816 ClassTemplate->getTemplatedDecl()->getBeginLoc(), in CheckTemplateIdType()
3824 ClassTemplate->getTemplatedDecl()->hasAttrs()) { in CheckTemplateIdType()
8335 Diag(ClassTemplate->getTemplatedDecl()->getLocation(), in ActOnClassTemplateSpecialization()
9017 I.getPair(), FunTmpl->getTemplatedDecl(), in CheckFunctionTemplateSpecialization()
9033 I.getPair(), FunTmpl->getTemplatedDecl(), in CheckFunctionTemplateSpecialization()
9542 Diag(ClassTemplate->getTemplatedDecl()->getLocation(), in ActOnExplicitInstantiation()
10190 .set(P.getPair(), FunTmpl->getTemplatedDecl(), in ActOnExplicitInstantiation()
[all …]
H A DCodeCompleteConsumer.cpp489 return FunctionTemplate->getTemplatedDecl(); in getFunction()
501 return FunctionTemplate->getTemplatedDecl() in getFunctionType()
H A DSemaTemplateDeduction.cpp1185 auto *Guide = dyn_cast<CXXDeductionGuideDecl>(FTD->getTemplatedDecl()); in getFirstInnerIndex()
3215 FunctionDecl *Function = FunctionTemplate->getTemplatedDecl(); in SubstituteExplicitTemplateArguments()
3272 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in SubstituteExplicitTemplateArguments()
3531 for (auto *PD : FunctionTemplate->getTemplatedDecl()->parameters()) { in getPackIndexForParam()
4082 FunctionDecl *Function = FunctionTemplate->getTemplatedDecl(); in DeduceTemplateArguments()
4301 FunctionDecl *Function = FunctionTemplate->getTemplatedDecl(); in DeduceTemplateArguments()
4424 = cast<CXXConversionDecl>(ConversionTemplate->getTemplatedDecl()); in DeduceTemplateArguments()
5078 FunctionDecl *FD1 = FT1->getTemplatedDecl(); in isAtLeastAsSpecializedAs()
5079 FunctionDecl *FD2 = FT2->getTemplatedDecl(); in isAtLeastAsSpecializedAs()
5232 FunctionDecl *Function = FunTmpl->getTemplatedDecl(); in isVariadicFunctionTemplate()
[all …]
H A DSemaTemplateInstantiateDecl.cpp295 New = FTD->getTemplatedDecl(); in instantiateOMPDeclareSimdDeclAttr()
378 New = FTD->getTemplatedDecl(); in instantiateOMPDeclareVariantAttr()
983 TypeAliasDecl *Pattern = D->getTemplatedDecl(); in VisitTypeAliasTemplateDecl()
1514 CXXRecordDecl *Pattern = D->getTemplatedDecl(); in VisitClassTemplateDecl()
1535 PrevDecl = PrevClassTemplate->getTemplatedDecl(); in VisitClassTemplateDecl()
1566 PrevDecl = PrevClassTemplate->getTemplatedDecl(); in VisitClassTemplateDecl()
1685 assert(D->getTemplatedDecl()->isStaticDataMember() && in VisitVarTemplateDecl()
1696 VarDecl *Pattern = D->getTemplatedDecl(); in VisitVarTemplateDecl()
4585 *this, Decl, Decl->getPrimaryTemplate()->getTemplatedDecl(), in CheckInstantiatedFunctionTemplateConstraints()
4629 assert(FunTmpl->getTemplatedDecl() == Tmpl && in InitFunctionInstantiation()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DASTConsumers.cpp101 InnerD = TD->getTemplatedDecl(); in print()

123