reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3168 if (!S.getLangOpts().CPlusPlus) { 3169 S.Diag(AL.getLoc(), diag::warn_attribute_ignored) << AL; 3173 if (S.getCurFunctionOrMethodDecl()) { 3174 S.Diag(AL.getLoc(), diag::err_init_priority_object_attr); 3179 if (S.Context.getAsArrayType(T)) 3180 T = S.Context.getBaseElementType(T); 3182 S.Diag(AL.getLoc(), diag::err_init_priority_object_attr); 3189 if (!checkUInt32Argument(S, AL, E, prioritynum)) { 3195 S.Diag(AL.getLoc(), diag::err_attribute_argument_out_of_range) 3200 D->addAttr(::new (S.Context) InitPriorityAttr(S.Context, AL, prioritynum)); 3200 D->addAttr(::new (S.Context) InitPriorityAttr(S.Context, AL, prioritynum));