Home
last modified time | relevance | path

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

123

/freebsd-14.2/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()
172 dyn_cast<CXXConstructorDecl>(FTD->getTemplatedDecl())) in addUSRsOfCtorDtors()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DComment.cpp271 const FunctionDecl *FD = FTD->getTemplatedDecl(); in fill()
325 if (const VarDecl *VD = VTD->getTemplatedDecl()) in fill()
342 if (TypeAliasDecl *TAD = TAT->getTemplatedDecl()) in fill()
H A DDeclPrinter.cpp552 if (TD->getTemplatedDecl()->doesThisDeclarationHaveABody()) in VisitDeclContext()
574 cast<FunctionTemplateDecl>(*D)->getTemplatedDecl()->doesThisDeclarationHaveABody()))) in VisitDeclContext()
1298 } else if (auto *TD = D->getTemplatedDecl()) in VisitTemplateDecl()
1308 prettyPrintPragmas(D->getTemplatedDecl()); in VisitFunctionTemplateDecl()
1310 if (const FunctionDecl *FD = D->getTemplatedDecl()) { in VisitFunctionTemplateDecl()
1318 if (D->getTemplatedDecl()->hasAttr<OMPDeclareTargetDeclAttr>()) in VisitFunctionTemplateDecl()
1324 !isa<CXXDeductionGuideDecl>(D->getTemplatedDecl())) { in VisitFunctionTemplateDecl()
1325 FunctionDecl *PrevDecl = D->getTemplatedDecl(); in VisitFunctionTemplateDecl()
H A DCXXInheritance.cpp259 BaseRecord = TD->getTemplatedDecl(); in lookupInBases()
426 CXXRecordDecl *RD = TD->getTemplatedDecl(); in findOrdinaryMemberInDependentClasses()
H A DDecl.cpp598 D = TD->getTemplatedDecl(); in getStorageClass()
982 explicitSpecSuppressor = spec->getTemplate()->getTemplatedDecl(); in getLVForClassMember()
1007 explicitSpecSuppressor = temp->getTemplatedDecl(); in getLVForClassMember()
1046 explicitSpecSuppressor = temp->getTemplatedDecl(); in getLVForClassMember()
1248 const auto *TD = spec->getSpecializedTemplate()->getTemplatedDecl(); in getExplicitVisibilityAux()
1298 return getVisibilityOf(TD->getTemplatedDecl(), kind); in getExplicitVisibilityAux()
2706 return getDefinitionOrSelf(VTD->getTemplatedDecl()); in getTemplateInstantiationPattern()
2731 return getDefinitionOrSelf(VarTemplate->getTemplatedDecl()); in getTemplateInstantiationPattern()
4068 return getDefinitionOrSelf(getPrimaryTemplate()->getTemplatedDecl()); in getTemplateInstantiationPattern()
4098 return getDefinitionOrSelf(Primary->getTemplatedDecl()); in getTemplateInstantiationPattern()
[all …]
H A DASTStructuralEquivalence.cpp2031 return IsStructurallyEquivalent(Context, D1->getTemplatedDecl(), in IsStructurallyEquivalent()
2032 D2->getTemplatedDecl()); in IsStructurallyEquivalent()
2043 return IsStructurallyEquivalent(Context, D1->getTemplatedDecl()->getType(), in IsStructurallyEquivalent()
2044 D2->getTemplatedDecl()->getType()); in IsStructurallyEquivalent()
2055 return IsStructurallyEquivalent(Context, D1->getTemplatedDecl(), in IsStructurallyEquivalent()
2056 D2->getTemplatedDecl()); in IsStructurallyEquivalent()
H A DASTDumper.cpp151 Visit(D->getTemplatedDecl()); in dumpTemplateDecl()
H A DDeclTemplate.cpp273 if (auto *FD = dyn_cast_or_null<FunctionDecl>(getTemplatedDecl())) in getAssociatedConstraints()
281 if (auto *FD = dyn_cast_or_null<FunctionDecl>(getTemplatedDecl())) in hasAssociatedConstraints()
945 if (!SpecializedTemplate->getTemplatedDecl()->isCompleteDefinition()) in Create()
947 SpecializedTemplate->getTemplatedDecl()->hasExternalLexicalStorage()); in Create()
/freebsd-14.2/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp68 if (const NamedDecl *TTD = TD->getTemplatedDecl()) in handleTemplateArgumentLoc()
217 const CXXRecordDecl *Pattern = CTD->getTemplatedDecl(); in gatherTemplatePseudoOverrides()
221 ND = CTD->getTemplatedDecl(); in gatherTemplatePseudoOverrides()
257 Base->getTemplatedDecl())); in VisitFunctionDecl()
285 IndexCtx.handleReference(Guide->getDeducedTemplate()->getTemplatedDecl(), in VisitFunctionDecl()
722 const NamedDecl *Parent = D->getTemplatedDecl(); in VisitTemplateDecl()
H A DIndexingContext.cpp216 return SD->getSpecializedTemplate()->getTemplatedDecl(); in adjustTemplateImplicitInstantiation()
299 if (auto TTD = TD->getTemplatedDecl()) { in getCanonicalDecl()
H A DIndexSymbol.cpp105 D = VT->getTemplatedDecl(); in getSymbolInfo()
293 cast<FunctionTemplateDecl>(D)->getTemplatedDecl())) { in getSymbolInfo()
H A DIndexTypeSourceInfo.cpp224 CXXRecordDecl *RD = TD->getTemplatedDecl(); in VisitDependentNameTypeLoc()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DCxxModuleHandler.cpp279 new_class_template->getTemplatedDecl()->getTagKind(), in tryInstantiateStdTemplate()
281 new_class_template->getTemplatedDecl()->getLocation(), in tryInstantiateStdTemplate()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DASTLambda.h72 dyn_cast_or_null<CXXConversionDecl>(F->getTemplatedDecl())) in isLambdaConversionOperator()
H A DDeclTemplate.h445 NamedDecl *getTemplatedDecl() const { return TemplatedDecl; } in getTemplatedDecl() function
1023 FunctionDecl *getTemplatedDecl() const {
1030 return getTemplatedDecl()->isThisDeclarationADefinition();
2293 CXXRecordDecl *getTemplatedDecl() const {
2300 return getTemplatedDecl()->isThisDeclarationADefinition();
2539 TypeAliasDecl *getTemplatedDecl() const {
3064 VarDecl *getTemplatedDecl() const {
3071 return getTemplatedDecl()->isThisDeclarationADefinition();
H A DGlobalDecl.h137 ->getTemplatedDecl() in getKernelReferenceKind()
H A DASTNodeTraverser.h544 Visit(D->getTemplatedDecl()); in dumpTemplateDecl()
558 Visit(D->getTemplatedDecl()); in VisitTypeAliasTemplateDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaAccess.cpp96 DC = cast<DeclContext>(DGD->getDeducedTemplate()->getTemplatedDecl()); in EffectiveContext()
426 Context->getTemplatedDecl(), in MightInstantiateTo()
427 Friend->getTemplatedDecl()); in MightInstantiateTo()
1099 cast<FunctionTemplateDecl>(D)->getTemplatedDecl()))) { in TryDiagnoseProtectedAccess()
1504 if (isa<DeclContext>(TD->getTemplatedDecl())) in HandleDelayedAccessCheck()
1505 DC = cast<DeclContext>(TD->getTemplatedDecl()); in HandleDelayedAccessCheck()
H A DSemaTemplate.cpp908 D = Temp->getTemplatedDecl(); in AdjustDeclIfTemplate()
2302 CXXRecordDecl *Primary = Template->getTemplatedDecl();
2811 ->getTemplatedDecl()) in DeclareImplicitDeductionGuides()
4153 ClassTemplate->getTemplatedDecl()->getBeginLoc(), in CheckTemplateIdType()
4162 ClassTemplate->getTemplatedDecl()->hasAttrs()) { in CheckTemplateIdType()
8944 Diag(ClassTemplate->getTemplatedDecl()->getLocation(), in ActOnClassTemplateSpecialization()
9676 I.getPair(), FunTmpl->getTemplatedDecl(), in CheckFunctionTemplateSpecialization()
9692 I.getPair(), FunTmpl->getTemplatedDecl(), in CheckFunctionTemplateSpecialization()
10202 Diag(ClassTemplate->getTemplatedDecl()->getLocation(), in ActOnExplicitInstantiation()
10850 .set(P.getPair(), FunTmpl->getTemplatedDecl(), in ActOnExplicitInstantiation()
[all …]
H A DHLSLExternalSemaSource.cpp53 PrevDecl = TD->getTemplatedDecl(); in BuiltinTypeDeclBuilder()
526 Record = TDecl->getSpecializedTemplate()->getTemplatedDecl(); in CompleteType()
H A DCodeCompleteConsumer.cpp506 return FunctionTemplate->getTemplatedDecl(); in getFunction()
518 return FunctionTemplate->getTemplatedDecl() in getFunctionType()
H A DSemaTemplateDeduction.cpp3242 FunctionDecl *Function = FunctionTemplate->getTemplatedDecl(); in SubstituteExplicitTemplateArguments()
3570 for (auto *PD : FunctionTemplate->getTemplatedDecl()->parameters()) { in getPackIndexForParam()
3692 FunctionDecl *FD = FunctionTemplate->getTemplatedDecl(); in FinishTemplateArgumentDeduction()
4218 FunctionDecl *Function = FunctionTemplate->getTemplatedDecl(); in DeduceTemplateArguments()
4471 FunctionDecl *Function = FunctionTemplate->getTemplatedDecl(); in DeduceTemplateArguments()
4605 = cast<CXXConversionDecl>(ConversionTemplate->getTemplatedDecl()); in DeduceTemplateArguments()
5282 FunctionDecl *FD1 = FT1->getTemplatedDecl(); in isAtLeastAsSpecializedAs()
5283 FunctionDecl *FD2 = FT2->getTemplatedDecl(); in isAtLeastAsSpecializedAs()
5482 FunctionDecl *FD1 = FT1->getTemplatedDecl(); in getMoreSpecializedTemplate()
5483 FunctionDecl *FD2 = FT2->getTemplatedDecl(); in getMoreSpecializedTemplate()
[all …]
H A DSemaTemplateInstantiateDecl.cpp330 New = FTD->getTemplatedDecl(); in instantiateOMPDeclareSimdDeclAttr()
413 New = FTD->getTemplatedDecl(); in instantiateOMPDeclareVariantAttr()
1085 TypeAliasDecl *Pattern = D->getTemplatedDecl(); in VisitTypeAliasTemplateDecl()
1622 CXXRecordDecl *Pattern = D->getTemplatedDecl(); in VisitClassTemplateDecl()
1643 PrevDecl = PrevClassTemplate->getTemplatedDecl(); in VisitClassTemplateDecl()
1674 PrevDecl = PrevClassTemplate->getTemplatedDecl(); in VisitClassTemplateDecl()
1679 << llvm::to_underlying(D->getTemplatedDecl()->getTagKind()) in VisitClassTemplateDecl()
1708 PrevClassTemplate->getTemplatedDecl()->getTypeForDecl()); in VisitClassTemplateDecl()
1798 assert(D->getTemplatedDecl()->isStaticDataMember() && in VisitVarTemplateDecl()
1809 VarDecl *Pattern = D->getTemplatedDecl(); in VisitVarTemplateDecl()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DASTConsumers.cpp104 InnerD = TD->getTemplatedDecl(); in print()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ExtractAPI/
H A DExtractAPIVisitor.h851 Decl->getTemplatedDecl())); in VisitVarTemplateDecl()
935 if (isa<CXXMethodDecl>(Decl->getTemplatedDecl())) in VisitFunctionTemplateDecl()
956 Decl->getTemplatedDecl()); in VisitFunctionTemplateDecl()

123