reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3618 if (AL.getNumArgs() > 1) { 3619 S.Diag(AL.getLoc(), diag::err_attribute_wrong_number_arguments) << AL << 1; 3619 S.Diag(AL.getLoc(), diag::err_attribute_wrong_number_arguments) << AL << 1; 3623 if (AL.getNumArgs() == 0) { 3624 D->addAttr(::new (S.Context) AlignedAttr(S.Context, AL, true, nullptr)); 3628 Expr *E = AL.getArgAsExpr(0); 3629 if (AL.isPackExpansion() && !E->containsUnexpandedParameterPack()) { 3630 S.Diag(AL.getEllipsisLoc(), 3635 if (!AL.isPackExpansion() && S.DiagnoseUnexpandedParameterPack(E)) 3638 S.AddAlignedAttr(D, AL, E, AL.isPackExpansion()); 3638 S.AddAlignedAttr(D, AL, E, AL.isPackExpansion());