Home
last modified time | relevance | path

Searched refs:getAssociatedDecl (Results 1 – 17 of 17) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DTemplateName.cpp45 getReplacedTemplateParameterList(getAssociatedDecl()) in getParameterPack()
52 getReplacedTemplateParameterList(getAssociatedDecl()) in getParameter()
57 Profile(ID, Replacement, getAssociatedDecl(), getIndex(), getPackIndex()); in Profile()
80 Profile(ID, Context, getArgumentPack(), getAssociatedDecl(), getIndex(), in Profile()
84 Decl *SubstTemplateTemplateParmPackStorage::getAssociatedDecl() const { in getAssociatedDecl() function in SubstTemplateTemplateParmPackStorage
H A DASTStructuralEquivalence.cpp316 if (!IsStructurallyEquivalent(Context, E1->getAssociatedDecl(), in IsStmtEquivalent()
317 E2->getAssociatedDecl())) in IsStmtEquivalent()
626 IsStructurallyEquivalent(Context, P1->getAssociatedDecl(), in IsStructurallyEquivalent()
627 P2->getAssociatedDecl()) && in IsStructurallyEquivalent()
1197 if (!IsStructurallyEquivalent(Context, Subst1->getAssociatedDecl(), in IsStructurallyEquivalent()
1198 Subst2->getAssociatedDecl())) in IsStructurallyEquivalent()
1210 if (!IsStructurallyEquivalent(Context, Subst1->getAssociatedDecl(), in IsStructurallyEquivalent()
1211 Subst2->getAssociatedDecl())) in IsStructurallyEquivalent()
H A DODRHash.cpp1136 AddDecl(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmPackType()
1142 AddDecl(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmType()
H A DType.cpp1196 T->getAssociatedDecl(), in VisitSubstTemplateTypeParmType()
3975 return ::getReplacedParameter(getAssociatedDecl(), getIndex()); in getReplacedParameter()
3991 Decl *SubstTemplateTypeParmPackType::getAssociatedDecl() const { in getAssociatedDecl() function in SubstTemplateTypeParmPackType
4001 return ::getReplacedParameter(getAssociatedDecl(), getIndex()); in getReplacedParameter()
4013 Profile(ID, getAssociatedDecl(), getIndex(), getFinal(), getArgumentPack()); in Profile()
H A DExprCXX.cpp1665 getReplacedTemplateParameterList(getAssociatedDecl())->asArray()[Index]); in getParameter()
1691 getReplacedTemplateParameterList(getAssociatedDecl())->asArray()[Index]); in getParameterPack()
H A DTextNodeDumper.cpp1767 dumpDeclRef(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmType()
1775 dumpDeclRef(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmPackType()
H A DASTImporter.cpp1530 Expected<Decl *> ReplacedOrErr = import(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmType()
1545 Expected<Decl *> ReplacedOrErr = import(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmPackType()
3442 if (const Decl *D = E->getAssociatedDecl()) in isAncestorDeclContextOf()
3540 if (isAncestorDeclContextOf(ParentDC, T->getAssociatedDecl())) in VisitSubstTemplateTypeParmType()
8768 auto ToAssociatedDecl = importChecked(Err, E->getAssociatedDecl()); in VisitSubstNonTypeTemplateParmExpr()
9778 auto AssociatedDeclOrErr = Import(Subst->getAssociatedDecl()); in Import()
9796 auto AssociatedDeclOrErr = Import(SubstPack->getAssociatedDecl()); in Import()
H A DASTContext.cpp6268 canonArgPack, subst->getAssociatedDecl()->getCanonicalDecl(), in getCanonicalTemplateName()
13109 ::getCommonDecl(SX->getAssociatedDecl(), SY->getAssociatedDecl()); in getCommonSugarTypeNode()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DTemplateName.h152 Decl *getAssociatedDecl() const;
391 Decl *getAssociatedDecl() const { return AssociatedDecl; } in getAssociatedDecl() function
H A DTypeProperties.td743 let Read = [{ node->getAssociatedDecl() }];
775 let Read = [{ node->getAssociatedDecl() }];
H A DPropertiesBase.td720 let Read = [{ parm->getAssociatedDecl() }];
740 let Read = [{ parm->getAssociatedDecl() }];
H A DType.h5313 Decl *getAssociatedDecl() const { return AssociatedDecl; }
5332 Profile(ID, getReplacementType(), getAssociatedDecl(), getIndex(),
5381 Decl *getAssociatedDecl() const;
H A DExprCXX.h4378 Decl *getAssociatedDecl() const { return AssociatedDeclAndRef.getPointer(); } in getAssociatedDecl() function
4451 Decl *getAssociatedDecl() const { return AssociatedDecl; } in getAssociatedDecl() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp1783 TemplateArgs.getAssociatedDecl(TTP->getDepth()); in TransformTemplateName()
1824 Template.getNameToSubstitute(), SubstPack->getAssociatedDecl(), in TransformTemplateName()
1869 auto [AssociatedDecl, _] = TemplateArgs.getAssociatedDecl(NTTP->getDepth()); in TransformTemplateParmRefExpr()
2025 E->getAssociatedDecl(), E->getParameterPack(), in TransformSubstNonTypeTemplateParmPackExpr()
2067 return transformNonTypeTemplateParmRef(E->getAssociatedDecl(), in TransformSubstNonTypeTemplateParmExpr()
2268 TemplateArgs.getAssociatedDecl(T->getDepth()); in TransformTemplateTypeParmType()
2320 Decl *NewReplaced = TransformDecl(TL.getNameLoc(), T->getAssociatedDecl()); in TransformSubstTemplateTypeParmPackType()
2325 if (NewReplaced != T->getAssociatedDecl()) in TransformSubstTemplateTypeParmPackType()
H A DTreeTransform.h4553 SubstPack->getArgumentPack(), SubstPack->getAssociatedDecl(), in TransformTemplateName()
6620 getDerived().TransformDecl(TL.getNameLoc(), T->getAssociatedDecl()); in TransformSubstTemplateTypeParmType()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DTemplate.h164 std::pair<Decl *, bool> getAssociatedDecl(unsigned Depth) const { in getAssociatedDecl() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp2159 Record.AddDeclRef(E->getAssociatedDecl()); in VisitSubstNonTypeTemplateParmExpr()
2174 Record.AddDeclRef(E->getAssociatedDecl()); in VisitSubstNonTypeTemplateParmPackExpr()