Lines Matching refs:Ident
141 Str = Loc->Ident->getName(); in checkStringLiteralArgumentAttr()
960 if (!ConsumableAttr::ConvertStrToConsumedState(IL->Ident->getName(), in handleConsumableAttr()
963 << IL->Ident; in handleConsumableAttr()
1004 IdentifierLoc *Ident = AL.getArgAsIdent(ArgIndex); in handleCallableWhenAttr() local
1005 StateString = Ident->Ident->getName(); in handleCallableWhenAttr()
1006 Loc = Ident->Loc; in handleCallableWhenAttr()
1029 IdentifierLoc *Ident = AL.getArgAsIdent(0); in handleParamTypestateAttr() local
1030 StringRef StateString = Ident->Ident->getName(); in handleParamTypestateAttr()
1034 S.Diag(Ident->Loc, diag::warn_attribute_type_not_supported) in handleParamTypestateAttr()
1064 if (!ReturnTypestateAttr::ConvertStrToConsumedState(IL->Ident->getName(), in handleReturnTypestateAttr()
1067 << IL->Ident; in handleReturnTypestateAttr()
1110 IdentifierLoc *Ident = AL.getArgAsIdent(0); in handleSetTypestateAttr() local
1111 StringRef Param = Ident->Ident->getName(); in handleSetTypestateAttr()
1113 S.Diag(Ident->Loc, diag::warn_attribute_type_not_supported) << AL in handleSetTypestateAttr()
1132 IdentifierLoc *Ident = AL.getArgAsIdent(0); in handleTestTypestateAttr() local
1133 StringRef Param = Ident->Ident->getName(); in handleTestTypestateAttr()
1135 S.Diag(Ident->Loc, diag::warn_attribute_type_not_supported) << AL in handleTestTypestateAttr()
1484 IdentifierInfo *Module = AL.getArgAsIdent(0)->Ident; in handleOwnershipAttr()
1765 StringRef CPUName = CPUArg->Ident->getName().trim(); in handleCPUSpecificAttr()
1781 CPUs.push_back(CPUArg->Ident); in handleCPUSpecificAttr()
2256 IdentifierInfo *II = Platform->Ident; in handleAvailabilityAttr()
2259 << Platform->Ident; in handleAvailabilityAttr()
2308 IIEnvironment = EnvironmentLoc->Ident; in handleAvailabilityAttr()
2310 EnvironmentLoc->Ident->getName()) == in handleAvailabilityAttr()
2313 << EnvironmentLoc->Ident; in handleAvailabilityAttr()
3321 IdentifierInfo *II = AL.getArgAsIdent(0)->Ident; in handleEnumExtensibilityAttr()
3507 IdentifierInfo *II = AL.getArgAsIdent(0)->Ident; in handleFormatAttr()
3641 auto It = NameIdxMapping.find(IdLoc->Ident->getName()); in handleCallbackAttr()
3644 << IdLoc->Ident << IdLoc->Loc; in handleCallbackAttr()
4290 IdentifierInfo *Name = AL.getArgAsIdent(0)->Ident; in handleModeAttr()
4446 const IdentifierInfo *Ident) { in mergeAlwaysInlineAttr() argument
4448 Diag(CI.getLoc(), diag::warn_attribute_ignored) << Ident; in mergeAlwaysInlineAttr()
5197 S.Context, AL, AL.getArgAsIdent(0)->Ident, ArgumentIdx, TypeTagIdx, in handleArgumentWithTypeTagAttr()
5218 IdentifierInfo *PointerKind = AL.getArgAsIdent(0)->Ident; in handleTypeTagForDatatypeAttr()
5271 IdentifierInfo *Ident = AL.getArgAsIdent(0)->Ident; in handleBuiltinAliasAttr() local
5272 unsigned BuiltinID = Ident->getBuiltinID(); in handleBuiltinAliasAttr()
5288 D->addAttr(::new (S.Context) BuiltinAliasAttr(S.Context, AL, Ident)); in handleBuiltinAliasAttr()
6027 IdentifierInfo *II = AL.getArgAsIdent(0)->Ident; in handleCFGuardAttr()
6129 IL->Ident->getName(), KeyType)) { in handleVTablePointerAuthentication()
6130 S.Diag(IL->Loc, diag::err_invalid_authentication_key) << IL->Ident; in handleVTablePointerAuthentication()
6150 ConvertStrToAddressDiscriminationMode(IL->Ident->getName(), in handleVTablePointerAuthentication()
6152 S.Diag(IL->Loc, diag::err_invalid_address_discrimination) << IL->Ident; in handleVTablePointerAuthentication()
6173 IL->Ident->getName(), ED)) { in handleVTablePointerAuthentication()
6174 S.Diag(IL->Loc, diag::err_invalid_extra_discrimination) << IL->Ident; in handleVTablePointerAuthentication()