Lines Matching refs:Aligned

80     const AlignedAttr *Aligned, Decl *New, bool IsPackExpansion) {  in instantiateDependentAlignedAttr()  argument
81 if (Aligned->isAlignmentExpr()) { in instantiateDependentAlignedAttr()
84 ExprResult Result = S.SubstExpr(Aligned->getAlignmentExpr(), TemplateArgs); in instantiateDependentAlignedAttr()
86 S.AddAlignedAttr(Aligned->getLocation(), New, Result.getAs<Expr>(), in instantiateDependentAlignedAttr()
87 Aligned->getSpellingListIndex(), IsPackExpansion); in instantiateDependentAlignedAttr()
89 TypeSourceInfo *Result = S.SubstType(Aligned->getAlignmentType(), in instantiateDependentAlignedAttr()
90 TemplateArgs, Aligned->getLocation(), in instantiateDependentAlignedAttr()
93 S.AddAlignedAttr(Aligned->getLocation(), New, Result, in instantiateDependentAlignedAttr()
94 Aligned->getSpellingListIndex(), IsPackExpansion); in instantiateDependentAlignedAttr()
100 const AlignedAttr *Aligned, Decl *New) { in instantiateDependentAlignedAttr() argument
101 if (!Aligned->isPackExpansion()) { in instantiateDependentAlignedAttr()
102 instantiateDependentAlignedAttr(S, TemplateArgs, Aligned, New, false); in instantiateDependentAlignedAttr()
107 if (Aligned->isAlignmentExpr()) in instantiateDependentAlignedAttr()
108 S.collectUnexpandedParameterPacks(Aligned->getAlignmentExpr(), in instantiateDependentAlignedAttr()
111 S.collectUnexpandedParameterPacks(Aligned->getAlignmentType()->getTypeLoc(), in instantiateDependentAlignedAttr()
119 SourceLocation EllipsisLoc = Aligned->getLocation(); in instantiateDependentAlignedAttr()
120 if (S.CheckParameterPacksForExpansion(EllipsisLoc, Aligned->getRange(), in instantiateDependentAlignedAttr()
127 instantiateDependentAlignedAttr(S, TemplateArgs, Aligned, New, true); in instantiateDependentAlignedAttr()
131 instantiateDependentAlignedAttr(S, TemplateArgs, Aligned, New, false); in instantiateDependentAlignedAttr()
138 const AssumeAlignedAttr *Aligned, Decl *New) { in instantiateDependentAssumeAlignedAttr() argument
143 ExprResult Result = S.SubstExpr(Aligned->getAlignment(), TemplateArgs); in instantiateDependentAssumeAlignedAttr()
148 if (Aligned->getOffset()) { in instantiateDependentAssumeAlignedAttr()
149 Result = S.SubstExpr(Aligned->getOffset(), TemplateArgs); in instantiateDependentAssumeAlignedAttr()
155 S.AddAssumeAlignedAttr(Aligned->getLocation(), New, E, OE, in instantiateDependentAssumeAlignedAttr()
156 Aligned->getSpellingListIndex()); in instantiateDependentAssumeAlignedAttr()
161 const AlignValueAttr *Aligned, Decl *New) { in instantiateDependentAlignValueAttr() argument
164 ExprResult Result = S.SubstExpr(Aligned->getAlignment(), TemplateArgs); in instantiateDependentAlignValueAttr()
166 S.AddAlignValueAttr(Aligned->getLocation(), New, Result.getAs<Expr>(), in instantiateDependentAlignValueAttr()
167 Aligned->getSpellingListIndex()); in instantiateDependentAlignValueAttr()
211 const AlignedAttr *Aligned = dyn_cast<AlignedAttr>(TmplAttr); in InstantiateAttrs() local
212 if (Aligned && Aligned->isAlignmentDependent()) { in InstantiateAttrs()
213 instantiateDependentAlignedAttr(*this, TemplateArgs, Aligned, New); in InstantiateAttrs()