Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DTemplateName.cpp68 getReplacedTemplateParameterList(getAssociatedDecl()) in getParameterPack()
75 getReplacedTemplateParameterList(getAssociatedDecl()) in getParameter()
80 Profile(ID, Replacement, getAssociatedDecl(), getIndex(), getPackIndex(), in Profile()
105 Profile(ID, Context, getArgumentPack(), getAssociatedDecl(), getIndex(), in Profile()
109 Decl *SubstTemplateTemplateParmPackStorage::getAssociatedDecl() const { in getAssociatedDecl() function in SubstTemplateTemplateParmPackStorage
H A DASTStructuralEquivalence.cpp319 if (!IsStructurallyEquivalent(Context, E1->getAssociatedDecl(), in IsStmtEquivalent()
320 E2->getAssociatedDecl())) in IsStmtEquivalent()
679 IsStructurallyEquivalent(Context, P1->getAssociatedDecl(), in IsStructurallyEquivalent()
680 P2->getAssociatedDecl()) && in IsStructurallyEquivalent()
1320 if (!IsStructurallyEquivalent(Context, Subst1->getAssociatedDecl(), in IsStructurallyEquivalent()
1321 Subst2->getAssociatedDecl())) in IsStructurallyEquivalent()
1333 if (!IsStructurallyEquivalent(Context, Subst1->getAssociatedDecl(), in IsStructurallyEquivalent()
1334 Subst2->getAssociatedDecl())) in IsStructurallyEquivalent()
H A DODRHash.cpp1181 AddDecl(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmPackType()
1187 AddDecl(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmType()
H A DType.cpp1307 replacementType, T->getAssociatedDecl(), T->getIndex(), in VisitSubstTemplateTypeParmType()
4401 return ::getReplacedParameter(getAssociatedDecl(), getIndex()); in getReplacedParameter()
4429 Decl *SubstTemplateTypeParmPackType::getAssociatedDecl() const { in getAssociatedDecl() function in SubstTemplateTypeParmPackType
4439 return ::getReplacedParameter(getAssociatedDecl(), getIndex()); in getReplacedParameter()
4451 Profile(ID, getAssociatedDecl(), getIndex(), getFinal(), getArgumentPack()); in Profile()
H A DTextNodeDumper.cpp1336 dumpDeclRef(STS->getAssociatedDecl(), "associated"); in dumpBareTemplateName()
2154 dumpDeclRef(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmType()
2164 dumpDeclRef(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmPackType()
H A DExprCXX.cpp1719 getReplacedTemplateParameterList(getAssociatedDecl())->asArray()[Index]); in getParameter()
1782 getReplacedTemplateParameterList(getAssociatedDecl())->asArray()[Index]); in getParameterPack()
H A DASTImporter.cpp1810 Expected<Decl *> ReplacedOrErr = import(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmType()
1825 Expected<Decl *> ReplacedOrErr = import(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmPackType()
3767 if (const Decl *D = E->getAssociatedDecl()) in isAncestorDeclContextOf()
3869 if (isAncestorDeclContextOf(ParentDC, T->getAssociatedDecl())) in VisitSubstTemplateTypeParmType()
9219 auto ToAssociatedDecl = importChecked(Err, E->getAssociatedDecl()); in VisitSubstNonTypeTemplateParmExpr()
10233 auto AssociatedDeclOrErr = Import(Subst->getAssociatedDecl()); in Import()
10251 auto AssociatedDeclOrErr = Import(SubstPack->getAssociatedDecl()); in Import()
H A DASTContext.cpp7189 canonArgPack, subst->getAssociatedDecl()->getCanonicalDecl(), in getCanonicalTemplateName()
14431 ::getCommonDecl(SX->getAssociatedDecl(), SY->getAssociatedDecl()); in getCommonSugarTypeNode()
H A DItaniumMangle.cpp2519 if (auto *TD = dyn_cast<TemplateDecl>(ST->getAssociatedDecl()); in mangleUnresolvedTypeOrSimpleId()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DTemplateArgumentHasher.cpp352 AddDecl(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmPackType()
357 AddDecl(T->getAssociatedDecl()); in VisitSubstTemplateTypeParmType()
H A DASTWriterStmt.cpp2229 Record.AddDeclRef(E->getAssociatedDecl()); in VisitSubstNonTypeTemplateParmExpr()
2243 Record.AddDeclRef(E->getAssociatedDecl()); in VisitSubstNonTypeTemplateParmPackExpr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DTemplateName.h162 Decl *getAssociatedDecl() const;
429 Decl *getAssociatedDecl() const { return AssociatedDecl; } in getAssociatedDecl() function
H A DTypeProperties.td821 let Read = [{ node->getAssociatedDecl() }];
853 let Read = [{ node->getAssociatedDecl() }];
H A DPropertiesBase.td728 let Read = [{ parm->getAssociatedDecl() }];
749 let Read = [{ parm->getAssociatedDecl() }];
H A DType.h6597 Decl *getAssociatedDecl() const { return AssociatedDecl; }
6619 Profile(ID, getReplacementType(), getAssociatedDecl(), getIndex(),
6663 Decl *getAssociatedDecl() const;
H A DExprCXX.h4647 Decl *getAssociatedDecl() const { return AssociatedDeclAndRef.getPointer(); } in getAssociatedDecl() function
4726 Decl *getAssociatedDecl() const { return AssociatedDecl; } in getAssociatedDecl() function
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.cpp218 if (auto *Decl = Subst->getAssociatedDecl()) { in isUncounted()
228 if (auto *Decl = Subst->getAssociatedDecl()) { in isUnchecked()
288 if (auto *Decl = Subst->getAssociatedDecl()) { in isUnretained()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiate.cpp2146 TemplateArgs.getAssociatedDecl(TTP->getDepth()); in TransformTemplateName()
2181 Template, SubstPack->getAssociatedDecl(), SubstPack->getIndex(), in TransformTemplateName()
2225 TemplateArgs.getAssociatedDecl(NTTP->getDepth()); in TransformTemplateParmRefExpr()
2430 E->getAssociatedDecl(), E->getParameterPack(), in TransformSubstNonTypeTemplateParmPackExpr()
2474 E->getAssociatedDecl(), E->getParameter(), E->getExprLoc(), in TransformSubstNonTypeTemplateParmExpr()
2678 TemplateArgs.getAssociatedDecl(T->getDepth()); in TransformTemplateTypeParmType()
2730 Decl *NewReplaced = TransformDecl(TL.getNameLoc(), T->getAssociatedDecl()); in TransformSubstTemplateTypeParmPackType()
2735 if (NewReplaced != T->getAssociatedDecl()) in TransformSubstTemplateTypeParmPackType()
H A DTreeTransform.h4848 SubstPack->getArgumentPack(), SubstPack->getAssociatedDecl(), in TransformTemplateName()
7108 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