| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRFindingAction.cpp | 135 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 D | IndexDecl.cpp | 64 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 D | IndexingContext.cpp | 218 return SD->getSpecializedTemplate()->getTemplatedDecl(); in adjustTemplateImplicitInstantiation() 304 if (auto TTD = TD->getTemplatedDecl()) { in getCanonicalDecl()
|
| H A D | IndexSymbol.cpp | 104 D = VT->getTemplatedDecl(); in getSymbolInfo() 292 cast<FunctionTemplateDecl>(D)->getTemplatedDecl())) { in getSymbolInfo()
|
| H A D | IndexTypeSourceInfo.cpp | 214 CXXRecordDecl *RD = TD->getTemplatedDecl(); in VisitDependentNameTypeLoc()
|
| H A D | USRGeneration.cpp | 373 VisitFunctionDecl(D->getTemplatedDecl()); in VisitFunctionTemplateDecl() 377 VisitTagDecl(D->getTemplatedDecl()); in VisitClassTemplateDecl()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | ASTLambda.h | 57 dyn_cast_or_null<CXXConversionDecl>(F->getTemplatedDecl())) in isLambdaConversionOperator()
|
| H A D | DeclTemplate.h | 431 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 D | ASTNodeTraverser.h | 503 Visit(D->getTemplatedDecl()); in dumpTemplateDecl() 517 Visit(D->getTemplatedDecl()); in VisitTypeAliasTemplateDecl()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | DeclPrinter.cpp | 459 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 D | Comment.cpp | 266 const FunctionDecl *FD = FTD->getTemplatedDecl(); in fill() 347 TypeAliasDecl *TAD = TAT->getTemplatedDecl(); in fill()
|
| H A D | Decl.cpp | 616 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 D | CXXInheritance.cpp | 259 BaseRecord = TD->getTemplatedDecl(); in lookupInBases() 426 CXXRecordDecl *RD = TD->getTemplatedDecl(); in findOrdinaryMemberInDependentClasses()
|
| H A D | ASTDumper.cpp | 130 Visit(D->getTemplatedDecl()); in dumpTemplateDecl()
|
| H A D | ASTStructuralEquivalence.cpp | 1788 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 D | ODRHash.cpp | 429 AddDecl(D->getTemplatedDecl()); in VisitFunctionTemplateDecl() 430 ID.AddInteger(D->getTemplatedDecl()->getODRHash()); in VisitFunctionTemplateDecl()
|
| H A D | DeclCXX.cpp | 703 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 D | CIndexCXX.cpp | 58 return MakeCXCursor(Template->getTemplatedDecl(), getCursorTU(C)).kind; in clang_getTemplateCursorKind()
|
| H A D | CXIndexDataConsumer.cpp | 868 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 D | SemaAccess.cpp | 96 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 D | SemaTemplate.cpp | 901 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 D | CodeCompleteConsumer.cpp | 489 return FunctionTemplate->getTemplatedDecl(); in getFunction() 501 return FunctionTemplate->getTemplatedDecl() in getFunctionType()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 293 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 D | SemaTemplateDeduction.cpp | 1185 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 D | ASTConsumers.cpp | 101 InnerD = TD->getTemplatedDecl(); in print()
|