Lines Matching refs:getRange
409 handleSimpleAttribute<AttrType>(S, D, AL.getRange(), in handleSimpleAttribute()
453 S, D, AL.getRange(), AL.getAttributeSpellingListIndex(), PassesCheck, in handleSimpleAttributeOrDiagnose()
749 PtGuardedVarAttr(AL.getRange(), S.Context, in handlePtGuardedVarAttr()
773 AL.getRange(), S.Context, Arg, AL.getAttributeSpellingListIndex())); in handleGuardedByAttr()
785 AL.getRange(), S.Context, Arg, AL.getAttributeSpellingListIndex())); in handlePtGuardedByAttr()
815 AL.getRange(), S.Context, StartArg, Args.size(), in handleAcquiredAfterAttr()
826 AL.getRange(), S.Context, StartArg, Args.size(), in handleAcquiredBeforeAttr()
847 AssertSharedLockAttr(AL.getRange(), S.Context, StartArg, Size, in handleAssertSharedLockAttr()
860 AL.getRange(), S.Context, StartArg, Size, in handleAssertExclusiveLockAttr()
922 AllocSizeAttr(AL.getRange(), S.Context, SizeArgNo, NumberArgNo, in handleAllocSizeAttr()
950 AL.getRange(), S.Context, AL.getArgAsExpr(0), Args.data(), Args.size(), in handleSharedTrylockFunctionAttr()
961 AL.getRange(), S.Context, AL.getArgAsExpr(0), Args.data(), in handleExclusiveTrylockFunctionAttr()
974 LockReturnedAttr(AL.getRange(), S.Context, Args[0], in handleLockReturnedAttr()
991 LocksExcludedAttr(AL.getRange(), S.Context, StartArg, Size, in handleLocksExcludedAttr()
1030 EnableIfAttr(AL.getRange(), S.Context, Cond, Msg, in handleEnableIfAttr()
1103 AL.getRange(), S.Context, Cond, Msg, DiagType, ArgDependent, in handleDiagnoseIfAttr()
1137 AL.getRange(), S.Context, (int)Type, AL.getAttributeSpellingListIndex())); in handlePassObjectSizeAttr()
1158 ConsumableAttr(AL.getRange(), S.Context, DefaultState, in handleConsumableAttr()
1210 CallableWhenAttr(AL.getRange(), S.Context, States.data(), in handleCallableWhenAttr()
1246 ParamTypestateAttr(AL.getRange(), S.Context, ParamState, in handleParamTypestateAttr()
1293 ReturnTypestateAttr(AL.getRange(), S.Context, ReturnState, in handleReturnTypestateAttr()
1317 SetTypestateAttr(AL.getRange(), S.Context, NewState, in handleSetTypestateAttr()
1341 TestTypestateAttr(AL.getRange(), S.Context, TestState, in handleTestTypestateAttr()
1352 TD->addAttr(::new (S.Context) PackedAttr(AL.getRange(), S.Context, in handlePackedAttr()
1367 AL.getRange(), S.Context, AL.getAttributeSpellingListIndex())); in handlePackedAttr()
1374 AL.getRange(), S.Context, AL.getAttributeSpellingListIndex())); in handlePackedAttr()
1412 IBOutletAttr(AL.getRange(), S.Context, in handleIBOutlet()
1457 IBOutletCollectionAttr(AL.getRange(), S.Context, QTLoc, in handleIBOutletCollection()
1542 NonNullAttr(AL.getRange(), S.Context, Start, Size, in handleNonNullAttr()
1564 NonNullAttr(AL.getRange(), S.Context, nullptr, 0, in handleNonNullAttrParameter()
1576 ReturnsNonNullAttr(AL.getRange(), S.Context, in handleReturnsNonNullAttr()
1588 << AL << AL.getRange() << 0; in handleNoEscapeAttr()
1593 AL.getRange(), S.Context, AL.getAttributeSpellingListIndex())); in handleNoEscapeAttr()
1599 S.AddAssumeAlignedAttr(AL.getRange(), D, E, OE, in handleAssumeAlignedAttr()
1604 S.AddAllocAlignAttr(AL.getRange(), D, AL.getArgAsExpr(0), in handleAllocAlignAttr()
1859 D->addAttr(::new (S.Context) AliasAttr(AL.getRange(), S.Context, Str, in handleWeakRefAttr()
1863 WeakRefAttr(AL.getRange(), S.Context, in handleWeakRefAttr()
1879 D->addAttr(::new (S.Context) IFuncAttr(AL.getRange(), S.Context, Str, in handleIFuncAttr()
1921 D->addAttr(::new (S.Context) AliasAttr(AL.getRange(), S.Context, Str, in handleAliasAttr()
1940 TLSModelAttr(AL.getRange(), S.Context, Model, in handleTLSModelAttr()
1948 AL.getRange(), S.Context, AL.getAttributeSpellingListIndex())); in handleRestrictAttr()
2000 AL.getRange(), S.Context, CPUs.data(), CPUs.size(), in handleCPUSpecificAttr()
2004 AL.getRange(), S.Context, CPUs.data(), CPUs.size(), in handleCPUSpecificAttr()
2034 D->addAttr(::new (S.Context) NakedAttr(AL.getRange(), S.Context, in handleNakedAttr()
2048 Attrs.getRange(), S.Context, Attrs.getAttributeSpellingListIndex())); in handleNoReturnAttr()
2095 AnalyzerNoReturnAttr(AL.getRange(), S.Context, in handleAnalyzerNoReturnAttr()
2152 AL.getRange(), S.Context, AL.getAttributeSpellingListIndex())); in handleVecReturnAttr()
2168 AL.getRange(), S.Context, in handleDependencyAttr()
2181 AL.getRange(), S.Context, AL.getAttributeSpellingListIndex())); in handleUnusedAttr()
2191 ConstructorAttr(AL.getRange(), S.Context, priority, in handleConstructorAttr()
2202 DestructorAttr(AL.getRange(), S.Context, priority, in handleDestructorAttr()
2213 D->addAttr(::new (S.Context) AttrTy(AL.getRange(), S.Context, Str, in handleAttrWithMessage()
2221 << AL << AL.getRange(); in handleObjCSuppresProtocolAttr()
2226 ObjCExplicitProtocolImplAttr(AL.getRange(), S.Context, in handleObjCSuppresProtocolAttr()
2414 if (checkAvailabilityAttr(*this, OldAA->getRange(), Platform, in mergeAvailabilityAttr()
2487 AvailabilityAttr *NewAttr = S.mergeAvailabilityAttr(ND, AL.getRange(), II, in handleAvailabilityAttr()
2532 AL.getRange(), in handleAvailabilityAttr()
2557 AL.getRange(), in handleAvailabilityAttr()
2590 AL.getRange(), S.Context, Language, DefinedIn, IsGeneratedDeclaration, in handleExternalSourceSymbolAttr()
2628 S.Diag(AL.getRange().getBegin(), diag::warn_attribute_ignored) << AL; in handleVisibilityAttr()
2637 S.Diag(AL.getRange().getBegin(), diag::err_attribute_wrong_decl_type) in handleVisibilityAttr()
2666 newAttr = S.mergeTypeVisibilityAttr(D, AL.getRange(), in handleVisibilityAttr()
2670 newAttr = S.mergeVisibilityAttr(D, AL.getRange(), type, Index); in handleVisibilityAttr()
2700 AL.getRange(), S.Context, F, AL.getAttributeSpellingListIndex())); in handleObjCMethodFamilyAttr()
2728 ObjCNSObjectAttr(AL.getRange(), S.Context, in handleObjCNSObject()
2744 ObjCIndependentClassAttr(AL.getRange(), S.Context, in handleObjCIndependentClass()
2763 BlocksAttr(AL.getRange(), S.Context, type, in handleBlocksAttr()
2852 SentinelAttr(AL.getRange(), S.Context, sentinel, nullPos, in handleSentinelAttr()
2875 WarnUnusedResultAttr(AL.getRange(), S.Context, in handleWarnUnusedResult()
2898 WeakImportAttr(AL.getRange(), S.Context, in handleWeakImportAttr()
2924 D->addAttr(::new (S.Context) WorkGroupAttr(AL.getRange(), S.Context, in handleWorkGroupSize()
2947 AL.getRange(), S.Context, SGSize, in handleSubGroupSize()
3033 SectionAttr *NewAttr = S.mergeSectionAttr(D, AL.getRange(), Str, Index); in handleSectionAttr()
3086 if (CodeSegAttr *CSA = S.mergeCodeSegAttr(D, AL.getRange(), Str, in handleCodeSegAttr()
3131 ::new (S.Context) TargetAttr(AL.getRange(), S.Context, Str, Index); in handleTargetAttr()
3150 MinVectorWidthAttr(AL.getRange(), S.Context, VecWidth, in handleMinVectorWidthAttr()
3207 CleanupAttr(AL.getRange(), S.Context, FD, in handleCleanupAttr()
3228 AL.getRange(), S.Context, ExtensibilityKind, in handleEnumExtensibilityAttr()
3265 AL.getRange(), S.Context, Idx, AL.getAttributeSpellingListIndex())); in handleFormatArgAttr()
3334 InitPriorityAttr(AL.getRange(), S.Context, prioritynum, in handleInitPriorityAttr()
3476 FormatAttr *NewAttr = S.mergeFormatAttr(D, AL.getRange(), II, in handleFormatAttr()
3552 TransparentUnionAttr(AL.getRange(), S.Context, in handleTransparentUnionAttr()
3570 AnnotateAttr(AL.getRange(), S.Context, Str, in handleAnnotateAttr()
3575 S.AddAlignValueAttr(AL.getRange(), D, AL.getArgAsExpr(0), in handleAlignValueAttr()
3632 D->addAttr(::new (S.Context) AlignedAttr(AL.getRange(), S.Context, in handleAlignedAttr()
3647 S.AddAlignedAttr(AL.getRange(), D, E, AL.getAttributeSpellingListIndex(), in handleAlignedAttr()
3914 S.AddModeAttr(AL.getRange(), D, Name, AL.getAttributeSpellingListIndex()); in handleModeAttr()
4061 NoDebugAttr(AL.getRange(), S.Context, in handleNoDebugAttr()
4086 CommonAttr(AL.getRange(), Context, AL.getAttributeSpellingListIndex()); in mergeCommonAttr()
4094 CommonAttr(AL.getRange(), Context, AL.getSpellingListIndex()); in mergeCommonAttr()
4119 AL.getRange(), Context, AL.getAttributeSpellingListIndex()); in mergeInternalLinkageAttr()
4143 InternalLinkageAttr(AL.getRange(), Context, AL.getSpellingListIndex()); in mergeInternalLinkageAttr()
4185 D, AL.getRange(), AL.getName(), in handleAlwaysInlineAttr()
4192 D, AL.getRange(), AL.getAttributeSpellingListIndex())) in handleMinSizeAttr()
4198 D, AL.getRange(), AL.getAttributeSpellingListIndex())) in handleOptimizeNoneAttr()
4211 AL.getRange(), S.Context, AL.getAttributeSpellingListIndex())); in handleConstantAttr()
4230 AL.getRange(), S.Context, AL.getAttributeSpellingListIndex())); in handleSharedAttr()
4260 CUDAGlobalAttr(AL.getRange(), S.Context, in handleGlobalAttr()
4272 GNUInlineAttr(AL.getRange(), S.Context, in handleGNUInlineAttr()
4294 FastCallAttr(AL.getRange(), S.Context, in handleCallConvAttr()
4299 StdCallAttr(AL.getRange(), S.Context, in handleCallConvAttr()
4304 ThisCallAttr(AL.getRange(), S.Context, in handleCallConvAttr()
4309 CDeclAttr(AL.getRange(), S.Context, in handleCallConvAttr()
4314 PascalAttr(AL.getRange(), S.Context, in handleCallConvAttr()
4319 SwiftCallAttr(AL.getRange(), S.Context, in handleCallConvAttr()
4324 VectorCallAttr(AL.getRange(), S.Context, in handleCallConvAttr()
4329 MSABIAttr(AL.getRange(), S.Context, in handleCallConvAttr()
4334 SysVABIAttr(AL.getRange(), S.Context, in handleCallConvAttr()
4339 AL.getRange(), S.Context, AL.getAttributeSpellingListIndex())); in handleCallConvAttr()
4355 PcsAttr(AL.getRange(), S.Context, PCS, in handleCallConvAttr()
4361 AArch64VectorPcsAttr(AL.getRange(), S.Context, in handleCallConvAttr()
4366 IntelOclBiccAttr(AL.getRange(), S.Context, in handleCallConvAttr()
4371 AL.getRange(), S.Context, AL.getAttributeSpellingListIndex())); in handleCallConvAttr()
4375 AL.getRange(), S.Context, AL.getAttributeSpellingListIndex())); in handleCallConvAttr()
4398 AL.getRange(), S.Context, DiagnosticIdentifiers.data(), in handleSuppressAttr()
4540 S.AddParameterABIAttr(Attrs.getRange(), D, Abi, in handleParameterABIAttr()
4695 S.AddLaunchBoundsAttr(AL.getRange(), D, AL.getArgAsExpr(0), in handleLaunchBoundsAttr()
4728 AL.getRange(), S.Context, AL.getArgAsIdent(0)->Ident, ArgumentIdx, in handleArgumentWithTypeTagAttr()
4755 TypeTagForDatatypeAttr(AL.getRange(), S.Context, PointerKind, in handleTypeTagForDatatypeAttr()
4772 AL.getRange(), S.Context, ArgCount.getSourceIndex(), in handleXRayLogArgsAttr()
4901 << AL << DiagID << AL.getRange(); in handleXReturnsXRetainedAttr()
4924 << AL.getRange() << AL << ExpectedDeclKind; in handleXReturnsXRetainedAttr()
4964 << AL << ParmDiagID << AL.getRange(); in handleXReturnsXRetainedAttr()
4977 << AL << SubjectKind << Cf << AL.getRange(); in handleXReturnsXRetainedAttr()
5033 Attrs.getRange(), S.Context, Attrs.getAttributeSpellingListIndex())); in handleObjCReturnsInnerPointerAttr()
5054 Attrs.getRange(), S.Context, Attrs.getAttributeSpellingListIndex())); in handleObjCRequiresSuperAttr()
5081 ObjCBridgeAttr(AL.getRange(), S.Context, Parm->Ident, in handleObjCBridgeAttr()
5095 ObjCBridgeMutableAttr(AL.getRange(), S.Context, Parm->Ident, in handleObjCBridgeMutableAttr()
5112 ObjCBridgeRelatedAttr(AL.getRange(), S.Context, RelatedClass, in handleObjCBridgeRelatedAttr()
5141 ObjCDesignatedInitializerAttr(AL.getRange(), S.Context, in handleObjCDesignatedInitializer()
5150 ObjCRuntimeNameAttr(AL.getRange(), S.Context, in handleObjCRuntimeName()
5170 ObjCBoxableAttr(AL.getRange(), S.Context, in handleObjCBoxable()
5186 << AL.getRange() << AL << ExpectedVariable; in handleObjCOwnershipAttr()
5226 ObjCPreciseLifetimeAttr(AL.getRange(), S.Context, in handleObjCPreciseLifetimeAttr()
5291 UuidAttr *UA = S.mergeUuidAttr(D, AL.getRange(), in handleUuidAttr()
5304 D, AL.getRange(), /*BestCase=*/true, in handleMSInheritanceAttr()
5327 D->addAttr(::new (S.Context) ThreadAttr(AL.getRange(), S.Context, in handleDeclspecThreadAttr()
5359 AbiTagAttr(AL.getRange(), S.Context, Tags.data(), Tags.size(), in handleAbiTagAttr()
5610 AL.getRange(), S.Context, Str, in handleWebAssemblyImportModuleAttr()
5633 AL.getRange(), S.Context, Str, in handleWebAssemblyImportNameAttr()
5641 S.Diag(AL.getRange().getBegin(), in handleRISCVInterruptAttr()
5817 X86ForceAlignArgPointerAttr(AL.getRange(), S.Context, in handleX86ForceAlignArgPointerAttr()
5840 LayoutVersionAttr(AL.getRange(), S.Context, Version, in handleLayoutVersion()
5873 S.Diag(A.getRange().getBegin(), diag::warn_attribute_ignored) << A; in handleDLLAttr()
5881 S.Diag(A.getRange().getBegin(), diag::warn_attribute_ignored_on_inline) in handleDLLAttr()
5890 S.Diag(A.getRange().getBegin(), diag::err_attribute_dll_lambda) << A; in handleDLLAttr()
5897 ? (Attr *)S.mergeDLLExportAttr(D, A.getRange(), Index) in handleDLLAttr()
5898 : (Attr *)S.mergeDLLImportAttr(D, A.getRange(), Index); in handleDLLAttr()
5959 D->addAttr(::new (S.Context) CapabilityAttr(AL.getRange(), S.Context, N, in handleCapabilityAttr()
5968 D->addAttr(::new (S.Context) AssertCapabilityAttr(AL.getRange(), S.Context, in handleAssertCapabilityAttr()
5979 D->addAttr(::new (S.Context) AcquireCapabilityAttr(AL.getRange(), in handleAcquireCapabilityAttr()
5991 D->addAttr(::new (S.Context) TryAcquireCapabilityAttr(AL.getRange(), in handleTryAcquireCapabilityAttr()
6006 AL.getRange(), S.Context, Args.data(), Args.size(), in handleReleaseCapabilityAttr()
6022 RequiresCapabilityAttr(AL.getRange(), S.Context, Args.data(), in handleRequiresCapabilityAttr()
6056 DeprecatedAttr(AL.getRange(), S.Context, Str, Replacement, in handleDeprecatedAttr()
6088 AL.getRange(), S.Context, Sanitizers.data(), Sanitizers.size(), in handleNoSanitizeAttr()
6105 NoSanitizeAttr(AL.getRange(), S.Context, &SanitizerName, 1, in handleNoSanitizeSpecificAttr()
6175 << AL.getName()->getName() << AL.getRange(); in handleOpenCLAccessAttr()
6202 AL.getRange(), S.Context, AL.getAttributeSpellingListIndex())); in handleOpenCLAccessAttr()
6627 S.AddXConsumedAttr(D, AL.getRange(), AL.getAttributeSpellingListIndex(), in ProcessDeclAttribute()
6641 /*Extra Args=*/AL, /*pointer-to-OSObject-pointer*/ 3, AL.getRange()); in ProcessDeclAttribute()
6647 /*Extra Args=*/AL, /*pointer-to-OSObject-poointer*/ 3, AL.getRange()); in ProcessDeclAttribute()
7131 << AL << AL.getRange(); in checkUnusedDeclAttributes()
7134 << AL.getRange(); in checkUnusedDeclAttributes()