Lines Matching refs:AL

1195 void SemaARM::handleBuiltinAliasAttr(Decl *D, const ParsedAttr &AL) {  in handleBuiltinAliasAttr()  argument
1197 if (!AL.isArgIdent(0)) { in handleBuiltinAliasAttr()
1198 Diag(AL.getLoc(), diag::err_attribute_argument_n_type) in handleBuiltinAliasAttr()
1199 << AL << 1 << AANT_ArgumentIdentifier; in handleBuiltinAliasAttr()
1203 IdentifierInfo *Ident = AL.getArgAsIdent(0)->Ident; in handleBuiltinAliasAttr()
1212 Diag(AL.getLoc(), diag::err_attribute_arm_builtin_alias); in handleBuiltinAliasAttr()
1216 D->addAttr(::new (Context) ArmBuiltinAliasAttr(Context, AL, Ident)); in handleBuiltinAliasAttr()
1220 Sema &S, const ParsedAttr &AL, const FunctionProtoType *FPT, in checkNewAttrMutualExclusion() argument
1226 S.Diag(AL.getLoc(), diag::err_attributes_are_not_compatible) in checkNewAttrMutualExclusion()
1231 AL.setInvalid(); in checkNewAttrMutualExclusion()
1239 return AL.isInvalid(); in checkNewAttrMutualExclusion()
1242 void SemaARM::handleNewAttr(Decl *D, const ParsedAttr &AL) { in handleNewAttr() argument
1243 if (!AL.getNumArgs()) { in handleNewAttr()
1244 Diag(AL.getLoc(), diag::err_missing_arm_state) << AL; in handleNewAttr()
1245 AL.setInvalid(); in handleNewAttr()
1257 for (unsigned I = 0, E = AL.getNumArgs(); I != E; ++I) { in handleNewAttr()
1260 if (!SemaRef.checkStringLiteralArgumentAttr(AL, I, StateName, &LiteralLoc)) in handleNewAttr()
1269 AL.setInvalid(); in handleNewAttr()
1281 checkNewAttrMutualExclusion(SemaRef, AL, FPT, ZAState, "za")) in handleNewAttr()
1286 checkNewAttrMutualExclusion(SemaRef, AL, FPT, ZT0State, "zt0")) in handleNewAttr()
1292 getASTContext(), AL, NewState.data(), NewState.size())); in handleNewAttr()
1295 void SemaARM::handleCmseNSEntryAttr(Decl *D, const ParsedAttr &AL) { in handleCmseNSEntryAttr() argument
1297 Diag(AL.getLoc(), diag::err_attribute_not_clinkage) << AL; in handleCmseNSEntryAttr()
1303 Diag(AL.getLoc(), diag::warn_attribute_cmse_entry_static); in handleCmseNSEntryAttr()
1307 D->addAttr(::new (getASTContext()) CmseNSEntryAttr(getASTContext(), AL)); in handleCmseNSEntryAttr()
1310 void SemaARM::handleInterruptAttr(Decl *D, const ParsedAttr &AL) { in handleInterruptAttr() argument
1312 if (AL.getNumArgs() > 1) { in handleInterruptAttr()
1313 Diag(AL.getLoc(), diag::err_attribute_too_many_arguments) << AL << 1; in handleInterruptAttr()
1320 if (AL.getNumArgs() == 0) in handleInterruptAttr()
1322 else if (!SemaRef.checkStringLiteralArgumentAttr(AL, 0, Str, &ArgLoc)) in handleInterruptAttr()
1327 Diag(AL.getLoc(), diag::warn_attribute_type_not_supported) in handleInterruptAttr()
1328 << AL << Str << ArgLoc; in handleInterruptAttr()
1337 ARMInterruptAttr(getASTContext(), AL, Kind)); in handleInterruptAttr()