reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
864 if (!checkAttributeAtLeastNumArgs(S, AL, 1) || 865 !checkAttributeAtMostNumArgs(S, AL, 2)) 870 S.Diag(AL.getLoc(), diag::warn_attribute_return_pointers_only) << AL; 877 if (!checkPositiveIntArgument(S, AL, SizeExpr, SizeArgNoVal, /*Idx=*/1)) 879 if (!checkParamIsIntegerType(S, FD, AL, /*AttrArgNo=*/0)) 888 if (!checkPositiveIntArgument(S, AL, NumberExpr, Val, /*Idx=*/2)) 890 if (!checkParamIsIntegerType(S, FD, AL, /*AttrArgNo=*/1)) 895 D->addAttr(::new (S.Context) 896 AllocSizeAttr(S.Context, AL, SizeArgNo, NumberArgNo));