Lines Matching refs:addAttr
407 D->addAttr(::new (S.Context) AttrType(S.Context, CI)); in handleSimpleAttribute()
733 D->addAttr(::new (S.Context) PtGuardedVarAttr(S.Context, AL)); in handlePtGuardedVarAttr()
755 D->addAttr(::new (S.Context) GuardedByAttr(S.Context, AL, Arg)); in handleGuardedByAttr()
766 D->addAttr(::new (S.Context) PtGuardedByAttr(S.Context, AL, Arg)); in handlePtGuardedByAttr()
795 D->addAttr(::new (S.Context) in handleAcquiredAfterAttr()
805 D->addAttr(::new (S.Context) in handleAcquiredBeforeAttr()
825 D->addAttr(::new (S.Context) in handleAssertSharedLockAttr()
837 D->addAttr(::new (S.Context) in handleAssertExclusiveLockAttr()
898 D->addAttr(::new (S.Context) in handleAllocSizeAttr()
925 D->addAttr(::new (S.Context) SharedTrylockFunctionAttr( in handleSharedTrylockFunctionAttr()
935 D->addAttr(::new (S.Context) ExclusiveTrylockFunctionAttr( in handleExclusiveTrylockFunctionAttr()
947 D->addAttr(::new (S.Context) LockReturnedAttr(S.Context, AL, Args[0])); in handleLockReturnedAttr()
962 D->addAttr(::new (S.Context) in handleLocksExcludedAttr()
1000 D->addAttr(::new (S.Context) EnableIfAttr(S.Context, AL, Cond, Msg)); in handleEnableIfAttr()
1071 D->addAttr(::new (S.Context) DiagnoseIfAttr( in handleDiagnoseIfAttr()
1121 D->addAttr(::new (S.Context) in handleNoBuiltinAttr()
1154 D->addAttr(::new (S.Context) PassObjectSizeAttr(S.Context, AL, (int)Type)); in handlePassObjectSizeAttr()
1174 D->addAttr(::new (S.Context) ConsumableAttr(S.Context, AL, DefaultState)); in handleConsumableAttr()
1223 D->addAttr(::new (S.Context) in handleCallableWhenAttr()
1258 D->addAttr(::new (S.Context) ParamTypestateAttr(S.Context, AL, ParamState)); in handleParamTypestateAttr()
1303 D->addAttr(::new (S.Context) ReturnTypestateAttr(S.Context, AL, ReturnState)); in handleReturnTypestateAttr()
1325 D->addAttr(::new (S.Context) SetTypestateAttr(S.Context, AL, NewState)); in handleSetTypestateAttr()
1347 D->addAttr(::new (S.Context) TestTypestateAttr(S.Context, AL, TestState)); in handleTestTypestateAttr()
1357 TD->addAttr(::new (S.Context) PackedAttr(S.Context, AL)); in handlePackedAttr()
1370 FD->addAttr(::new (S.Context) PackedAttr(S.Context, AL)); in handlePackedAttr()
1376 FD->addAttr(::new (S.Context) PackedAttr(S.Context, AL)); in handlePackedAttr()
1413 D->addAttr(::new (S.Context) IBOutletAttr(S.Context, AL)); in handleIBOutlet()
1456 D->addAttr(::new (S.Context) IBOutletCollectionAttr(S.Context, AL, QTLoc)); in handleIBOutletCollection()
1539 D->addAttr(::new (S.Context) NonNullAttr(S.Context, AL, Start, Size)); in handleNonNullAttr()
1559 D->addAttr(::new (S.Context) NonNullAttr(S.Context, AL, nullptr, 0)); in handleNonNullAttrParameter()
1569 D->addAttr(::new (S.Context) ReturnsNonNullAttr(S.Context, AL)); in handleReturnsNonNullAttr()
1584 D->addAttr(::new (S.Context) NoEscapeAttr(S.Context, AL)); in handleNoEscapeAttr()
1643 D->addAttr(::new (Context) AssumeAlignedAttr(Context, CI, E, OE)); in AddAssumeAlignedAttr()
1675 D->addAttr(::new (Context) AllocAlignAttr(Context, CI, Idx)); in AddAllocAlignAttr()
1787 D->addAttr(::new (S.Context) in handleOwnershipAttr()
1844 D->addAttr(::new (S.Context) AliasAttr(S.Context, AL, Str)); in handleWeakRefAttr()
1846 D->addAttr(::new (S.Context) WeakRefAttr(S.Context, AL)); in handleWeakRefAttr()
1861 D->addAttr(::new (S.Context) IFuncAttr(S.Context, AL, Str)); in handleIFuncAttr()
1902 D->addAttr(::new (S.Context) AliasAttr(S.Context, AL, Str)); in handleAliasAttr()
1919 D->addAttr(::new (S.Context) TLSModelAttr(S.Context, AL, Model)); in handleTLSModelAttr()
1925 D->addAttr(::new (S.Context) RestrictAttr(S.Context, AL)); in handleRestrictAttr()
1976 D->addAttr(::new (S.Context) in handleCPUSpecificAttr()
1979 D->addAttr(::new (S.Context) in handleCPUSpecificAttr()
1991 D->addAttr(CA); in handleCommonAttr()
2006 D->addAttr(::new (S.Context) CmseNSEntryAttr(S.Context, AL)); in handleCmseNSEntryAttr()
2024 D->addAttr(::new (S.Context) NakedAttr(S.Context, AL)); in handleNakedAttr()
2036 D->addAttr(::new (S.Context) NoReturnAttr(S.Context, Attrs)); in handleNoReturnAttr()
2083 D->addAttr(::new (S.Context) AnalyzerNoReturnAttr(S.Context, AL)); in handleAnalyzerNoReturnAttr()
2138 D->addAttr(::new (S.Context) VecReturnAttr(S.Context, AL)); in handleVecReturnAttr()
2153 D->addAttr(::new (S.Context) CarriesDependencyAttr(S.Context, AL)); in handleDependencyAttr()
2164 D->addAttr(::new (S.Context) UnusedAttr(S.Context, AL)); in handleUnusedAttr()
2173 D->addAttr(::new (S.Context) ConstructorAttr(S.Context, AL, priority)); in handleConstructorAttr()
2182 D->addAttr(::new (S.Context) DestructorAttr(S.Context, AL, priority)); in handleDestructorAttr()
2192 D->addAttr(::new (S.Context) AttrTy(S.Context, AL, Str)); in handleAttrWithMessage()
2203 D->addAttr(::new (S.Context) ObjCExplicitProtocolImplAttr(S.Context, AL)); in handleObjCSuppresProtocolAttr()
2461 D->addAttr(NewAttr); in handleAvailabilityAttr()
2502 D->addAttr(NewAttr); in handleAvailabilityAttr()
2520 D->addAttr(NewAttr); in handleAvailabilityAttr()
2540 D->addAttr(::new (S.Context) ExternalSourceSymbolAttr( in handleExternalSourceSymbolAttr()
2618 D->addAttr(newAttr); in handleVisibilityAttr()
2672 D->addAttr(new (S.Context) ObjCMethodFamilyAttr(S.Context, AL, F)); in handleObjCMethodFamilyAttr()
2699 D->addAttr(::new (S.Context) ObjCNSObjectAttr(S.Context, AL)); in handleObjCNSObject()
2713 D->addAttr(::new (S.Context) ObjCIndependentClassAttr(S.Context, AL)); in handleObjCIndependentClass()
2730 D->addAttr(::new (S.Context) BlocksAttr(S.Context, AL, type)); in handleBlocksAttr()
2817 D->addAttr(::new (S.Context) SentinelAttr(S.Context, AL, sentinel, nullPos)); in handleSentinelAttr()
2861 D->addAttr(::new (S.Context) WarnUnusedResultAttr(S.Context, AL, Str)); in handleWarnUnusedResult()
2882 D->addAttr(::new (S.Context) WeakImportAttr(S.Context, AL)); in handleWeakImportAttr()
2907 D->addAttr(::new (S.Context) in handleWorkGroupSize()
2928 D->addAttr(::new (S.Context) in handleSubGroupSize()
2956 D->addAttr(::new (S.Context) VecTypeHintAttr(S.Context, AL, ParmTSI)); in handleVecTypeHint()
3010 D->addAttr(NewAttr); in handleSectionAttr()
3065 D->addAttr(CSA); in handleCodeSegAttr()
3133 D->addAttr(NewAttr); in handleTargetAttr()
3150 D->addAttr(::new (S.Context) MinVectorWidthAttr(S.Context, AL, VecWidth)); in handleMinVectorWidthAttr()
3205 D->addAttr(::new (S.Context) CleanupAttr(S.Context, AL, FD)); in handleCleanupAttr()
3224 D->addAttr(::new (S.Context) in handleEnumExtensibilityAttr()
3260 D->addAttr(::new (S.Context) FormatArgAttr(S.Context, AL, Idx)); in handleFormatArgAttr()
3332 D->addAttr(::new (S.Context) InitPriorityAttr(S.Context, AL, prioritynum)); in handleInitPriorityAttr()
3473 D->addAttr(NewAttr); in handleFormatAttr()
3611 D->addAttr(::new (S.Context) CallbackAttr( in handleCallbackAttr()
3683 RD->addAttr(::new (S.Context) TransparentUnionAttr(S.Context, AL)); in handleTransparentUnionAttr()
3730 D->addAttr(Attr); in AddAnnotationAttr()
3786 D->addAttr(::new (Context) AlignValueAttr(Context, CI, ICE.get())); in AddAlignValueAttr()
3791 D->addAttr(::new (Context) AlignValueAttr(Context, CI, E)); in AddAlignValueAttr()
3802 D->addAttr(::new (S.Context) AlignedAttr(S.Context, AL, true, nullptr)); in handleAlignedAttr()
3876 D->addAttr(AA); in AddAlignedAttr()
3926 D->addAttr(AA); in AddAlignedAttr()
3935 D->addAttr(AA); in AddAlignedAttr()
4147 D->addAttr(::new (Context) ModeAttr(Context, CI, Name)); in AddModeAttr()
4230 D->addAttr(::new (Context) ModeAttr(Context, CI, Name)); in AddModeAttr()
4234 D->addAttr(::new (S.Context) NoDebugAttr(S.Context, AL)); in handleNoDebugAttr()
4381 D->addAttr(Inline); in handleAlwaysInlineAttr()
4386 D->addAttr(MinSize); in handleMinSizeAttr()
4391 D->addAttr(Optnone); in handleOptimizeNoneAttr()
4402 D->addAttr(::new (S.Context) CUDAConstantAttr(S.Context, AL)); in handleConstantAttr()
4420 D->addAttr(::new (S.Context) CUDASharedAttr(S.Context, AL)); in handleSharedAttr()
4451 D->addAttr(::new (S.Context) CUDAGlobalAttr(S.Context, AL)); in handleGlobalAttr()
4457 D->addAttr(NoDebugAttr::CreateImplicit(S.Context)); in handleGlobalAttr()
4471 D->addAttr(::new (S.Context) CUDADeviceAttr(S.Context, AL)); in handleDeviceAttr()
4484 D->addAttr(::new (S.Context) GNUInlineAttr(S.Context, AL)); in handleGNUInlineAttr()
4504 D->addAttr(::new (S.Context) FastCallAttr(S.Context, AL)); in handleCallConvAttr()
4507 D->addAttr(::new (S.Context) StdCallAttr(S.Context, AL)); in handleCallConvAttr()
4510 D->addAttr(::new (S.Context) ThisCallAttr(S.Context, AL)); in handleCallConvAttr()
4513 D->addAttr(::new (S.Context) CDeclAttr(S.Context, AL)); in handleCallConvAttr()
4516 D->addAttr(::new (S.Context) PascalAttr(S.Context, AL)); in handleCallConvAttr()
4519 D->addAttr(::new (S.Context) SwiftCallAttr(S.Context, AL)); in handleCallConvAttr()
4522 D->addAttr(::new (S.Context) VectorCallAttr(S.Context, AL)); in handleCallConvAttr()
4525 D->addAttr(::new (S.Context) MSABIAttr(S.Context, AL)); in handleCallConvAttr()
4528 D->addAttr(::new (S.Context) SysVABIAttr(S.Context, AL)); in handleCallConvAttr()
4531 D->addAttr(::new (S.Context) RegCallAttr(S.Context, AL)); in handleCallConvAttr()
4546 D->addAttr(::new (S.Context) PcsAttr(S.Context, AL, PCS)); in handleCallConvAttr()
4550 D->addAttr(::new (S.Context) AArch64VectorPcsAttr(S.Context, AL)); in handleCallConvAttr()
4553 D->addAttr(::new (S.Context) IntelOclBiccAttr(S.Context, AL)); in handleCallConvAttr()
4556 D->addAttr(::new (S.Context) PreserveMostAttr(S.Context, AL)); in handleCallConvAttr()
4559 D->addAttr(::new (S.Context) PreserveAllAttr(S.Context, AL)); in handleCallConvAttr()
4581 D->addAttr(::new (S.Context) in handleSuppressAttr()
4623 Redecl->addAttr(::new (S.Context) OwnerAttr(S.Context, AL, DerefTypeLoc)); in handleLifetimeCategoryAttr()
4640 Redecl->addAttr(::new (S.Context) in handleLifetimeCategoryAttr()
4857 D->addAttr(::new (Context) SwiftContextAttr(Context, CI)); in AddParameterABIAttr()
4865 D->addAttr(::new (Context) SwiftErrorResultAttr(Context, CI)); in AddParameterABIAttr()
4873 D->addAttr(::new (Context) SwiftIndirectResultAttr(Context, CI)); in AddParameterABIAttr()
4969 D->addAttr(::new (Context) in AddLaunchBoundsAttr()
5009 D->addAttr(::new (S.Context) ArgumentWithTypeTagAttr( in handleArgumentWithTypeTagAttr()
5036 D->addAttr(::new (S.Context) TypeTagForDatatypeAttr( in handleTypeTagForDatatypeAttr()
5050 D->addAttr(::new (S.Context) in handleXRayLogArgsAttr()
5069 D->addAttr(::new (S.Context) in handlePatchableFunctionEntryAttr()
5143 D->addAttr(::new (S.Context) ArmBuiltinAliasAttr(S.Context, AL, Ident)); in handleArmBuiltinAliasAttr()
5401 D->addAttr(::new (S.Context) ObjCReturnsInnerPointerAttr(S.Context, Attrs)); in handleObjCReturnsInnerPointerAttr()
5421 D->addAttr(::new (S.Context) ObjCRequiresSuperAttr(S.Context, Attrs)); in handleObjCRequiresSuperAttr()
5446 D->addAttr(::new (S.Context) NSErrorDomainAttr(S.Context, AL, VD)); in handleNSErrorDomain()
5472 D->addAttr(::new (S.Context) ObjCBridgeAttr(S.Context, AL, Parm->Ident)); in handleObjCBridgeAttr()
5484 D->addAttr(::new (S.Context) in handleObjCBridgeMutableAttr()
5500 D->addAttr(::new (S.Context) ObjCBridgeRelatedAttr( in handleObjCBridgeRelatedAttr()
5527 D->addAttr(::new (S.Context) ObjCDesignatedInitializerAttr(S.Context, AL)); in handleObjCDesignatedInitializer()
5534 D->addAttr(::new (S.Context) in handleObjCRuntimeName()
5554 RD->addAttr(BoxableAttr); in handleObjCBoxable()
5607 D->addAttr(::new (S.Context) ObjCPreciseLifetimeAttr(S.Context, AL)); in handleObjCPreciseLifetimeAttr()
5617 D->addAttr(::new (S.Context) SwiftAttrAttr(S.Context, AL, Str)); in handleSwiftAttrAttr()
5633 D->addAttr(::new (S.Context) SwiftBridgeAttr(S.Context, AL, BT)); in handleSwiftBridge()
5729 D->addAttr(::new (S.Context) SwiftErrorAttr(S.Context, AL, Convention)); in handleSwiftError()
6027 D->addAttr(::new (S.Context) SwiftNameAttr(S.Context, AL, Name)); in handleSwiftName()
6039 D->addAttr(::new (S.Context) SwiftAsyncNameAttr(S.Context, AL, Name)); in handleSwiftAsyncName()
6066 D->addAttr(::new (S.Context) SwiftNewTypeAttr(S.Context, AL, Kind)); in handleSwiftNewType()
6116 D->addAttr(::new (S.Context) SwiftAsyncAttr(S.Context, AL, Kind, Idx)); in handleSwiftAsyncAttr()
6195 D->addAttr(UA); in handleUuidAttr()
6207 D->addAttr(IA); in handleMSInheritanceAttr()
6226 D->addAttr(::new (S.Context) ThreadAttr(S.Context, AL)); in handleDeclspecThreadAttr()
6256 D->addAttr(::new (S.Context) in handleAbiTagAttr()
6282 D->addAttr(::new (S.Context) ARMInterruptAttr(S.Context, AL, Kind)); in handleARMInterruptAttr()
6333 D->addAttr(::new (S.Context) MSP430InterruptAttr(S.Context, AL, Num)); in handleMSP430InterruptAttr()
6334 D->addAttr(UsedAttr::CreateImplicit(S.Context)); in handleMSP430InterruptAttr()
6389 D->addAttr(::new (S.Context) MipsInterruptAttr(S.Context, AL, Kind)); in handleMipsInterruptAttr()
6452 D->addAttr(::new (S.Context) AnyX86InterruptAttr(S.Context, AL)); in handleAnyX86InterruptAttr()
6453 D->addAttr(UsedAttr::CreateImplicit(S.Context)); in handleAnyX86InterruptAttr()
6488 D->addAttr(BPFPreserveAccessIndexAttr::CreateImplicit(S.Context)); in handleBPFPreserveAIRecord()
6498 Rec->addAttr(::new (S.Context) BPFPreserveAccessIndexAttr(S.Context, AL)); in handleBPFPreserveAccessIndexAttr()
6519 D->addAttr(::new (S.Context) WebAssemblyExportNameAttr(S.Context, AL, Str)); in handleWebAssemblyExportNameAttr()
6520 D->addAttr(UsedAttr::CreateImplicit(S.Context)); in handleWebAssemblyExportNameAttr()
6576 FD->addAttr(::new (S.Context) in handleWebAssemblyImportModuleAttr()
6593 FD->addAttr(::new (S.Context) WebAssemblyImportNameAttr(S.Context, AL, Str)); in handleWebAssemblyImportNameAttr()
6651 D->addAttr(::new (S.Context) RISCVInterruptAttr(S.Context, AL, Kind)); in handleRISCVInterruptAttr()
6719 D->addAttr(::new (Context) in addAMDGPUFlatWorkGroupSizeAttr()
6772 D->addAttr(::new (Context) in addAMDGPUWavesPerEUAttr()
6793 D->addAttr(::new (S.Context) AMDGPUNumSGPRAttr(S.Context, AL, NumSGPR)); in handleAMDGPUNumSGPRAttr()
6802 D->addAttr(::new (S.Context) AMDGPUNumVGPRAttr(S.Context, AL, NumVGPR)); in handleAMDGPUNumVGPRAttr()
6825 D->addAttr(::new (S.Context) X86ForceAlignArgPointerAttr(S.Context, AL)); in handleX86ForceAlignArgPointerAttr()
6846 D->addAttr(::new (S.Context) LayoutVersionAttr(S.Context, AL, Version)); in handleLayoutVersion()
6904 D->addAttr(NewAttr); in handleDLLAttr()
6957 D->addAttr(::new (S.Context) CapabilityAttr(S.Context, AL, N)); in handleCapabilityAttr()
6965 D->addAttr(::new (S.Context) in handleAssertCapabilityAttr()
6975 D->addAttr(::new (S.Context) AcquireCapabilityAttr(S.Context, AL, Args.data(), in handleAcquireCapabilityAttr()
6985 D->addAttr(::new (S.Context) TryAcquireCapabilityAttr( in handleTryAcquireCapabilityAttr()
6995 D->addAttr(::new (S.Context) ReleaseCapabilityAttr(S.Context, AL, Args.data(), in handleReleaseCapabilityAttr()
7013 D->addAttr(RCA); in handleRequiresCapabilityAttr()
7043 D->addAttr(::new (S.Context) DeprecatedAttr(S.Context, AL, Str, Replacement)); in handleDeprecatedAttr()
7074 D->addAttr(::new (S.Context) NoSanitizeAttr(S.Context, AL, Sanitizers.data(), in handleNoSanitizeAttr()
7105 D->addAttr(::new (S.Context) in handleNoSanitizeSpecificAttr()
7111 D->addAttr(Internal); in handleInternalLinkageAttr()
7203 D->addAttr(::new (S.Context) OpenCLAccessAttr(S.Context, AL)); in handleOpenCLAccessAttr()
7261 D->addAttr(::new (S.Context) UninitializedAttr(S.Context, AL)); in handleUninitializedAttr()
7389 D->addAttr(AcquireHandleAttr::Create(S.Context, Argument, AL)); in handleAcquireHandleAttr()
7397 D->addAttr(Attr::Create(S.Context, Argument, AL)); in handleHandleAttr()
7416 D->addAttr(::new (S.Context) CFGuardAttr(S.Context, AL, Arg)); in handleCFGuardAttr()
8299 NewD->addAttr( in DeclApplyPragmaWeak()
8301 NewD->addAttr(WeakAttr::CreateImplicit(Context, W.getLocation(), in DeclApplyPragmaWeak()
8313 ND->addAttr(WeakAttr::CreateImplicit(Context, W.getLocation(), in DeclApplyPragmaWeak()
8409 D->addAttr(UnavailableAttr::CreateImplicit(S.Context, "", Reason, DD.Loc)); in handleDelayedForbiddenType()