/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | TemplateName.cpp | 145 TemplateDecl *TemplateName::getAsTemplateDecl() const { in getAsTemplateDecl() function in TemplateName 155 return QTN->getUnderlyingTemplate().getAsTemplateDecl(); in getAsTemplateDecl() 158 return sub->getReplacement().getAsTemplateDecl(); in getAsTemplateDecl() 236 if (TemplateDecl *Template = getAsTemplateDecl()) { in getDependence() 270 else if (const auto *TD = getAsTemplateDecl()) in Profile() 297 TemplateDecl *Template = getAsTemplateDecl(); in print() 315 TemplateDecl *UTD = Underlying.getAsTemplateDecl(); in print()
|
H A D | ASTDiagnostic.cpp | 1189 Tree.SetTemplateDiff(FromArgTST->getTemplateName().getAsTemplateDecl(), in DiffTypes() 1190 ToArgTST->getTemplateName().getAsTemplateDecl(), in DiffTypes() 1376 FromTST->getTemplateName().getAsTemplateDecl()->getTemplateParameters(); in DiffTemplate() 1378 ToTST->getTemplateName().getAsTemplateDecl()->getTemplateParameters(); in DiffTemplate() 1432 return FromTST->getTemplateName().getAsTemplateDecl()->getCanonicalDecl() == in hasSameBaseTemplate() 1433 ToTST->getTemplateName().getAsTemplateDecl()->getCanonicalDecl(); in hasSameBaseTemplate() 1489 return Iter->getAsTemplate().getAsTemplateDecl(); in GetTemplateDecl() 1491 return Iter.getDesugaredTA().getAsTemplate().getAsTemplateDecl(); in GetTemplateDecl() 2134 Tree.SetTemplateDiff(FromOrigTST->getTemplateName().getAsTemplateDecl(), in DiffTemplate() 2135 ToOrigTST->getTemplateName().getAsTemplateDecl(), in DiffTemplate()
|
H A D | QualTypeNames.cpp | 62 TemplateDecl *ArgTDecl = TName.getAsTemplateDecl(); in getFullyQualifiedTemplateName() 331 Decl = TST->getTemplateName().getAsTemplateDecl(); in createNestedNameSpecifierForScopeOf()
|
H A D | CXXInheritance.cpp | 258 dyn_cast_or_null<ClassTemplateDecl>(TN.getAsTemplateDecl())) in lookupInBases() 423 const auto *TD = dyn_cast_or_null<ClassTemplateDecl>(TN.getAsTemplateDecl()); in findOrdinaryMemberInDependentClasses()
|
H A D | ItaniumMangle.cpp | 2230 if (TemplateDecl *TD = Template.getAsTemplateDecl()) in mangleTemplatePrefix() 2343 TD = TN.getAsTemplateDecl(); in mangleType() 2489 TemplateDecl *TD = TN.getAsTemplateDecl(); in mangleUnresolvedTypeOrSimpleId() 2522 TemplateDecl *TD = TN.getAsTemplateDecl(); in mangleUnresolvedTypeOrSimpleId() 4267 if (TemplateDecl *TD = T->getTemplateName().getAsTemplateDecl()) { in mangleType() 4415 TemplateDecl *TD = T->getTemplateName().getAsTemplateDecl(); in mangleType() 5840 if (TemplateDecl *TD = TN.getAsTemplateDecl()) in TemplateArgManglingInfo() 5903 const TemplateDecl *ArgTemplate = ArgTemplateName.getAsTemplateDecl(); in needToMangleTemplateParam() 6770 if (TemplateDecl *TD = Template.getAsTemplateDecl()) in mangleSubstitution() 6942 if (TemplateDecl *TD = Template.getAsTemplateDecl()) in addSubstitution()
|
H A D | ASTStructuralEquivalence.cpp | 583 TemplateDecl *TemplateDeclN1 = N1.getAsTemplateDecl(); in IsStructurallyEquivalent() 584 TemplateDecl *TemplateDeclN2 = N2.getAsTemplateDecl(); in IsStructurallyEquivalent()
|
H A D | ODRHash.cpp | 147 AddDecl(Name.getAsTemplateDecl()); in AddTemplateName()
|
H A D | TypePrinter.cpp | 1617 TemplateDecl *TD = T->getTemplateName().getAsTemplateDecl(); in printTemplateId() 2291 TemplateDecl *PatTD = Pattern.getAsTemplate().getAsTemplateDecl(); in isSubstitutedTemplateArgument()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | LLVMConventionsChecker.cpp | 87 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsStdVector() 101 TemplateDecl *TD = TM.getAsTemplateDecl(); in IsSmallVector()
|
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexTypeSourceInfo.cpp | 158 } else if (const TemplateDecl *D = TemplName.getAsTemplateDecl()) { in HandleTemplateSpecializationTypeLoc() 221 dyn_cast_or_null<ClassTemplateDecl>(TN.getAsTemplateDecl()); in VisitDependentNameTypeLoc()
|
H A D | IndexBody.cpp | 179 dyn_cast_or_null<ClassTemplateDecl>(TN.getAsTemplateDecl()); in indexDependentReference()
|
H A D | IndexDecl.cpp | 67 .getAsTemplateDecl()) { in handleTemplateArgumentLoc()
|
H A D | USRGeneration.cpp | 1019 if (TemplateDecl *Template = Name.getAsTemplateDecl()) { in VisitTemplateName()
|
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/ |
H A D | RecursiveSymbolVisitor.h | 97 if (!visit(TemplateSpecType->getTemplateName().getAsTemplateDecl(), in VisitTypeLoc()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateDeductionGuide.cpp | 114 !isa_and_present<TypeAliasTemplateDecl>(Template.getAsTemplateDecl())) in RebuildTemplateSpecializationType() 118 auto *TATD = cast<TypeAliasTemplateDecl>(Template.getAsTemplateDecl()); in RebuildTemplateSpecializationType() 685 if (auto *TD = Template.getAsTemplateDecl()) in TemplateParamsReferencedInTemplateArgumentList() 964 Template = TST->getTemplateName().getAsTemplateDecl(); in getRHSTemplateDeclAndArgs()
|
H A D | SemaTemplate.cpp | 1071 ConceptDecl *CD = cast<ConceptDecl>(TN.getAsTemplateDecl()); in CheckTypeConstraint() 1112 ConceptDecl *CD = cast<ConceptDecl>(TN.getAsTemplateDecl()); in BuildTypeConstraint() 2615 dyn_cast_or_null<TemplateTemplateParmDecl>(N.getAsTemplateDecl())) in TraverseTemplateName() 2729 if (TemplateDecl *Template = TST->getTemplateName().getAsTemplateDecl()) { in MatchTemplateParametersToScopeSpecifier() 2868 if (TemplateDecl *Template = TST->getTemplateName().getAsTemplateDecl()) { in MatchTemplateParametersToScopeSpecifier() 3037 if (TemplateDecl *Template = Name.getAsTemplateDecl()) { in NoteAllFoundTemplates() 3302 TemplateDecl *Template = Name.getAsTemplateDecl(); in CheckTemplateIdType() 3709 dyn_cast_or_null<TypeAliasTemplateDecl>(Template.getAsTemplateDecl())) { in ActOnTagTemplateIdType() 3798 Arg.getAsTemplateOrTemplatePattern().getAsTemplateDecl()); in isTemplateArgumentTemplateParameter() 3965 dyn_cast_or_null<VarTemplateDecl>(Name.getAsTemplateDecl()); in ActOnVarTemplateSpecialization() [all …]
|
H A D | SemaCXXScopeSpec.cpp | 81 SpecType->getTemplateName().getAsTemplateDecl())) { in computeDeclContext() 898 TemplateDecl *TD = Template.getAsTemplateDecl(); in ActOnCXXNestedNameSpecifier()
|
H A D | SemaTemplateDeduction.cpp | 573 TemplateDecl *ParamDecl = Param.getAsTemplateDecl(); in DeduceTemplateArguments() 591 Arg.getAsTemplateDecl())) { in DeduceTemplateArguments() 686 if (const auto *TD = TNP.getAsTemplateDecl(); TD && TD->isTypeAlias()) in DeduceTemplateSpecArguments() 712 if (const auto *TD = TNA.getAsTemplateDecl(); TD && TD->isTypeAlias()) in DeduceTemplateSpecArguments() 3415 return Spec->getTemplateName().getAsTemplateDecl() != nullptr; in isSimpleTemplateIdType() 6259 Template.getAsTemplateDecl())) in TraverseTemplateName() 6332 if (TemplateDecl *Template = Name.getAsTemplateDecl()) { in MarkUsedTemplateParameters()
|
H A D | SemaTemplateVariadic.cpp | 107 Template.getAsTemplateDecl())) { in TraverseTemplateName()
|
H A D | SemaTemplateInstantiate.cpp | 1833 assert(!Template.isNull() && Template.getAsTemplateDecl() && in TransformDecl() 1835 return Template.getAsTemplateDecl(); in TransformDecl() 1961 = dyn_cast_or_null<TemplateTemplateParmDecl>(Name.getAsTemplateDecl())) { in TransformTemplateName()
|
H A D | SemaAttr.cpp | 160 TST->getTemplateName().getAsTemplateDecl()->getTemplatedDecl()); in inferGslPointerAttribute()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | TemplateName.h | 274 TemplateDecl *getAsTemplateDecl() const;
|
H A D | PropertiesBase.td | 633 let Read = [{ node.getAsTemplateDecl() }];
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | PtrTypesSemantics.cpp | 135 if (auto *decl = specialT->getTemplateName().getAsTemplateDecl()) { in isReturnValueRefCounted()
|
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/ |
H A D | DeclarationFragments.cpp | 403 if (const auto *TemplDecl = TemplName.getAsTemplateDecl()) in getFragmentsForType() 1140 CTA.getAsTemplateOrTemplatePattern().getAsTemplateDecl()) in getFragmentsForTemplateArguments()
|