Home
last modified time | relevance | path

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

/freebsd/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.cpp317 if (!IsStructurallyEquivalent(Context, E1->getAssociatedDecl(), in IsStmtEquivalent()
318 E2->getAssociatedDecl())) in IsStmtEquivalent()
636 IsStructurallyEquivalent(Context, P1->getAssociatedDecl(), in IsStructurallyEquivalent()
637 P2->getAssociatedDecl()) && in IsStructurallyEquivalent()
1215 if (!IsStructurallyEquivalent(Context, Subst1->getAssociatedDecl(), in IsStructurallyEquivalent()
1216 Subst2->getAssociatedDecl())) in IsStructurallyEquivalent()
1228 if (!IsStructurallyEquivalent(Context, Subst1->getAssociatedDecl(), in IsStructurallyEquivalent()
1229 Subst2->getAssociatedDecl())) in IsStructurallyEquivalent()
H A DODRHash.cpp1153 AddDecl(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmPackType()
1159 AddDecl(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmType()
H A DTextNodeDumper.cpp1197 dumpDeclRef(STS->getAssociatedDecl(), "associated"); in dumpBareTemplateName()
2002 dumpDeclRef(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmType()
2010 dumpDeclRef(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmPackType()
H A DType.cpp1258 T->getAssociatedDecl(), in VisitSubstTemplateTypeParmType()
4204 return ::getReplacedParameter(getAssociatedDecl(), getIndex()); in getReplacedParameter()
4220 Decl *SubstTemplateTypeParmPackType::getAssociatedDecl() const { in getAssociatedDecl() function in SubstTemplateTypeParmPackType
4230 return ::getReplacedParameter(getAssociatedDecl(), getIndex()); in getReplacedParameter()
4242 Profile(ID, getAssociatedDecl(), getIndex(), getFinal(), getArgumentPack()); in Profile()
H A DExprCXX.cpp1715 getReplacedTemplateParameterList(getAssociatedDecl())->asArray()[Index]); in getParameter()
1776 getReplacedTemplateParameterList(getAssociatedDecl())->asArray()[Index]); in getParameterPack()
H A DASTImporter.cpp1578 Expected<Decl *> ReplacedOrErr = import(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmType()
1593 Expected<Decl *> ReplacedOrErr = import(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmPackType()
3496 if (const Decl *D = E->getAssociatedDecl()) in isAncestorDeclContextOf()
3594 if (isAncestorDeclContextOf(ParentDC, T->getAssociatedDecl())) in VisitSubstTemplateTypeParmType()
8872 auto ToAssociatedDecl = importChecked(Err, E->getAssociatedDecl()); in VisitSubstNonTypeTemplateParmExpr()
9872 auto AssociatedDeclOrErr = Import(Subst->getAssociatedDecl()); in Import()
9890 auto AssociatedDeclOrErr = Import(SubstPack->getAssociatedDecl()); in Import()
H A DASTContext.cpp6714 canonArgPack, subst->getAssociatedDecl()->getCanonicalDecl(), in getCanonicalTemplateName()
13623 ::getCommonDecl(SX->getAssociatedDecl(), SY->getAssociatedDecl()); in getCommonSugarTypeNode()
/freebsd/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.td790 let Read = [{ node->getAssociatedDecl() }];
822 let Read = [{ node->getAssociatedDecl() }];
H A DPropertiesBase.td723 let Read = [{ parm->getAssociatedDecl() }];
743 let Read = [{ parm->getAssociatedDecl() }];
H A DType.h6227 Decl *getAssociatedDecl() const { return AssociatedDecl; }
6246 Profile(ID, getReplacementType(), getAssociatedDecl(), getIndex(),
6295 Decl *getAssociatedDecl() const;
H A DExprCXX.h4525 Decl *getAssociatedDecl() const { return AssociatedDeclAndRef.getPointer(); } in getAssociatedDecl() function
4598 Decl *getAssociatedDecl() const { return AssociatedDecl; } in getAssociatedDecl() function
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp1987 TemplateArgs.getAssociatedDecl(TTP->getDepth()); in TransformTemplateName()
2026 Template, SubstPack->getAssociatedDecl(), SubstPack->getIndex(), in TransformTemplateName()
2071 auto [AssociatedDecl, _] = TemplateArgs.getAssociatedDecl(NTTP->getDepth()); in TransformTemplateParmRefExpr()
2255 E->getAssociatedDecl(), E->getParameterPack(), in TransformSubstNonTypeTemplateParmPackExpr()
2297 return transformNonTypeTemplateParmRef(E->getAssociatedDecl(), in TransformSubstNonTypeTemplateParmExpr()
2495 TemplateArgs.getAssociatedDecl(T->getDepth()); in TransformTemplateTypeParmType()
2547 Decl *NewReplaced = TransformDecl(TL.getNameLoc(), T->getAssociatedDecl()); in TransformSubstTemplateTypeParmPackType()
2552 if (NewReplaced != T->getAssociatedDecl()) in TransformSubstTemplateTypeParmPackType()
H A DTreeTransform.h4635 SubstPack->getArgumentPack(), SubstPack->getAssociatedDecl(), in TransformTemplateName()
6875 getDerived().TransformDecl(TL.getNameLoc(), T->getAssociatedDecl()); in TransformSubstTemplateTypeParmType()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DTemplate.h164 std::pair<Decl *, bool> getAssociatedDecl(unsigned Depth) const { in getAssociatedDecl() function
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp2198 Record.AddDeclRef(E->getAssociatedDecl()); in VisitSubstNonTypeTemplateParmExpr()
2213 Record.AddDeclRef(E->getAssociatedDecl()); in VisitSubstNonTypeTemplateParmPackExpr()