reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1141 if (!checkAttributeAtLeastNumArgs(S, AL, 1)) 1144 if (!checkForConsumableClass(S, cast<CXXMethodDecl>(D), AL)) 1148 for (unsigned ArgIndex = 0; ArgIndex < AL.getNumArgs(); ++ArgIndex) { 1153 if (AL.isArgIdent(ArgIndex)) { 1154 IdentifierLoc *Ident = AL.getArgAsIdent(ArgIndex); 1158 if (!S.checkStringLiteralArgumentAttr(AL, ArgIndex, StateString, &Loc)) 1164 S.Diag(Loc, diag::warn_attribute_type_not_supported) << AL << StateString; 1172 CallableWhenAttr(S.Context, AL, States.data(), States.size()));