Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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.cpp294 if (!IsStructurallyEquivalent(Context, E1->getAssociatedDecl(), in IsStmtEquivalent()
295 E2->getAssociatedDecl())) in IsStmtEquivalent()
545 IsStructurallyEquivalent(Context, P1->getAssociatedDecl(), in IsStructurallyEquivalent()
546 P2->getAssociatedDecl()) && in IsStructurallyEquivalent()
1112 if (!IsStructurallyEquivalent(Context, Subst1->getAssociatedDecl(), in IsStructurallyEquivalent()
1113 Subst2->getAssociatedDecl())) in IsStructurallyEquivalent()
1125 if (!IsStructurallyEquivalent(Context, Subst1->getAssociatedDecl(), in IsStructurallyEquivalent()
1126 Subst2->getAssociatedDecl())) in IsStructurallyEquivalent()
H A DODRHash.cpp1152 AddDecl(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmPackType()
1158 AddDecl(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmType()
H A DType.cpp1174 T->getAssociatedDecl(), in VisitSubstTemplateTypeParmType()
3704 return ::getReplacedParameter(getAssociatedDecl(), getIndex()); in getReplacedParameter()
3720 Decl *SubstTemplateTypeParmPackType::getAssociatedDecl() const { in getAssociatedDecl() function in SubstTemplateTypeParmPackType
3730 return ::getReplacedParameter(getAssociatedDecl(), getIndex()); in getReplacedParameter()
3742 Profile(ID, getAssociatedDecl(), getIndex(), getFinal(), getArgumentPack()); in Profile()
H A DExprCXX.cpp1645 getReplacedTemplateParameterList(getAssociatedDecl())->asArray()[Index]); in getParameter()
1671 getReplacedTemplateParameterList(getAssociatedDecl())->asArray()[Index]); in getParameterPack()
H A DTextNodeDumper.cpp1579 dumpDeclRef(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmType()
1587 dumpDeclRef(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmPackType()
H A DASTImporter.cpp1519 Expected<Decl *> ReplacedOrErr = import(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmType()
1534 Expected<Decl *> ReplacedOrErr = import(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmPackType()
8448 auto ToAssociatedDecl = importChecked(Err, E->getAssociatedDecl()); in VisitSubstNonTypeTemplateParmExpr()
9438 auto AssociatedDeclOrErr = Import(Subst->getAssociatedDecl()); in Import()
9456 auto AssociatedDeclOrErr = Import(SubstPack->getAssociatedDecl()); in Import()
H A DASTContext.cpp6256 canonArgPack, subst->getAssociatedDecl()->getCanonicalDecl(), in getCanonicalTemplateName()
12957 ::getCommonDecl(SX->getAssociatedDecl(), SY->getAssociatedDecl()); in getCommonSugarTypeNode()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DTemplateName.h152 Decl *getAssociatedDecl() const;
393 Decl *getAssociatedDecl() const { return AssociatedDecl; } in getAssociatedDecl() function
H A DTypeProperties.td739 let Read = [{ node->getAssociatedDecl() }];
771 let Read = [{ node->getAssociatedDecl() }];
H A DPropertiesBase.td703 let Read = [{ parm->getAssociatedDecl() }];
723 let Read = [{ parm->getAssociatedDecl() }];
H A DType.h5110 Decl *getAssociatedDecl() const { return AssociatedDecl; }
5129 Profile(ID, getReplacementType(), getAssociatedDecl(), getIndex(),
5178 Decl *getAssociatedDecl() const;
H A DExprCXX.h4360 Decl *getAssociatedDecl() const { return AssociatedDeclAndRef.getPointer(); } in getAssociatedDecl() function
4433 Decl *getAssociatedDecl() const { return AssociatedDecl; } in getAssociatedDecl() function
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp1635 TemplateArgs.getAssociatedDecl(TTP->getDepth()); in TransformTemplateName()
1676 Template.getNameToSubstitute(), SubstPack->getAssociatedDecl(), in TransformTemplateName()
1721 auto [AssociatedDecl, _] = TemplateArgs.getAssociatedDecl(NTTP->getDepth()); in TransformTemplateParmRefExpr()
1859 E->getAssociatedDecl(), E->getParameterPack(), in TransformSubstNonTypeTemplateParmPackExpr()
1901 return transformNonTypeTemplateParmRef(E->getAssociatedDecl(), in TransformSubstNonTypeTemplateParmExpr()
2102 TemplateArgs.getAssociatedDecl(T->getDepth()); in TransformTemplateTypeParmType()
2154 Decl *NewReplaced = TransformDecl(TL.getNameLoc(), T->getAssociatedDecl()); in TransformSubstTemplateTypeParmPackType()
2159 if (NewReplaced != T->getAssociatedDecl()) in TransformSubstTemplateTypeParmPackType()
H A DTreeTransform.h4465 SubstPack->getArgumentPack(), SubstPack->getAssociatedDecl(), in TransformTemplateName()
6516 getDerived().TransformDecl(TL.getNameLoc(), T->getAssociatedDecl()); in TransformSubstTemplateTypeParmType()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DTemplate.h164 std::pair<Decl *, bool> getAssociatedDecl(unsigned Depth) const { in getAssociatedDecl() function
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTWriterStmt.cpp2034 Record.AddDeclRef(E->getAssociatedDecl()); in VisitSubstNonTypeTemplateParmExpr()
2049 Record.AddDeclRef(E->getAssociatedDecl()); in VisitSubstNonTypeTemplateParmPackExpr()