Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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.h503 Visit(D->getTemplatedDecl()); in dumpTemplateDecl()
517 Visit(D->getTemplatedDecl()); in VisitTypeAliasTemplateDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DDeclPrinter.cpp459 if (TD->getTemplatedDecl()->isThisDeclarationADefinition()) in VisitDeclContext()
484 cast<FunctionTemplateDecl>(*D)->getTemplatedDecl()->doesThisDeclarationHaveABody()))) in VisitDeclContext()
1142 } 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()
1153 const auto *TD = spec->getSpecializedTemplate()->getTemplatedDecl(); in getExplicitVisibilityAux()
1178 return getVisibilityOf(VTSD->getSpecializedTemplate()->getTemplatedDecl(), in getExplicitVisibilityAux()
1189 return getVisibilityOf(templateInfo->getTemplate()->getTemplatedDecl(), in getExplicitVisibilityAux()
1203 return getVisibilityOf(TD->getTemplatedDecl(), kind); in getExplicitVisibilityAux()
2562 return getDefinitionOrSelf(VTD->getTemplatedDecl()); in getTemplateInstantiationPattern()
2587 return getDefinitionOrSelf(VarTemplate->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.cpp1788 return IsStructurallyEquivalent(Context, D1->getTemplatedDecl(), in IsStructurallyEquivalent()
1789 D2->getTemplatedDecl()); in IsStructurallyEquivalent()
1800 return IsStructurallyEquivalent(Context, D1->getTemplatedDecl()->getType(), in IsStructurallyEquivalent()
1801 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.cpp703 D = FunTmpl->getTemplatedDecl(); in addedMember()
710 DUnderlying = UnderlyingFunTmpl->getTemplatedDecl(); in addedMember()
1508 return cast<CXXMethodDecl>(CallOpTmpl->getTemplatedDecl()); in getLambdaCallOperator()
1529 return cast<CXXMethodDecl>(InvokerTemplate->getTemplatedDecl()); in getInvokerAsMethod()
1851 return GetDefinitionOrSelf(CTD->getTemplatedDecl()); in getTemplateInstantiationPattern()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndexCXX.cpp58 return MakeCXCursor(Template->getTemplatedDecl(), getCursorTU(C)).kind; in clang_getTemplateCursorKind()
H A DCXIndexDataConsumer.cpp868 return handleCXXRecordDecl(D->getTemplatedDecl(), D); in handleClassTemplate()
1059 DC = ClassTempl->getTemplatedDecl(); in getEntityContainer()
1062 DC = FuncTempl->getTemplatedDecl(); in getEntityContainer()
/netbsd-src/external/apache2/llvm/dist/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()
1493 if (isa<DeclContext>(TD->getTemplatedDecl())) in HandleDelayedAccessCheck()
1494 DC = cast<DeclContext>(TD->getTemplatedDecl()); in HandleDelayedAccessCheck()
H A DSemaTemplate.cpp901 D = Temp->getTemplatedDecl(); in AdjustDeclIfTemplate()
1895 RecordDecl *PrevRecordDecl = PrevClassTemplate->getTemplatedDecl(); in CheckClassTemplate()
1978 PrevClassTemplate->getTemplatedDecl() : nullptr, in CheckClassTemplate()
2032 mergeDeclAttributes(NewClass, PrevClassTemplate->getTemplatedDecl()); in CheckClassTemplate()
2141 CXXRecordDecl *Primary = Template->getTemplatedDecl();
2467 cast<CXXRecordDecl>(Template->getTemplatedDecl())->getDefinition()) { in DeclareImplicitDeductionGuides()
2512 dyn_cast_or_null<CXXConstructorDecl>(FTD ? FTD->getTemplatedDecl() : D); in DeclareImplicitDeductionGuides()
2540 ->getTemplatedDecl()) in DeclareImplicitDeductionGuides()
3697 TypeAliasDecl *Pattern = AliasTemplate->getTemplatedDecl(); in CheckTemplateIdType()
3814 Context, ClassTemplate->getTemplatedDecl()->getTagKind(), in CheckTemplateIdType()
[all …]
H A DCodeCompleteConsumer.cpp489 return FunctionTemplate->getTemplatedDecl(); in getFunction()
501 return FunctionTemplate->getTemplatedDecl() in getFunctionType()
H A DSemaTemplateInstantiateDecl.cpp293 New = FTD->getTemplatedDecl(); in instantiateOMPDeclareSimdDeclAttr()
376 New = FTD->getTemplatedDecl(); in instantiateOMPDeclareVariantAttr()
947 TypeAliasDecl *Pattern = D->getTemplatedDecl(); in VisitTypeAliasTemplateDecl()
1459 CXXRecordDecl *Pattern = D->getTemplatedDecl(); in VisitClassTemplateDecl()
1480 PrevDecl = PrevClassTemplate->getTemplatedDecl(); in VisitClassTemplateDecl()
1511 PrevDecl = PrevClassTemplate->getTemplatedDecl(); in VisitClassTemplateDecl()
1516 << D->getTemplatedDecl()->getTagKind() << Pattern->getDeclName() << DC in VisitClassTemplateDecl()
1630 assert(D->getTemplatedDecl()->isStaticDataMember() && in VisitVarTemplateDecl()
1641 VarDecl *Pattern = D->getTemplatedDecl(); in VisitVarTemplateDecl()
1724 if (CXXMethodDecl *DMethod = dyn_cast<CXXMethodDecl>(D->getTemplatedDecl())) in VisitFunctionTemplateDecl()
[all …]
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()
3575 ContextRAII SavedContext(*this, FunctionTemplate->getTemplatedDecl()); in FinishTemplateArgumentDeduction()
3611 SubstDecl(FunctionTemplate->getTemplatedDecl(), Owner, SubstArgs)); in FinishTemplateArgumentDeduction()
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()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DASTConsumers.cpp101 InnerD = TD->getTemplatedDecl(); in print()

123