Lines Matching refs:getArgAsExpr

387   Expr *ArgExpr = AL.getArgAsExpr(ArgNum);  in checkStringLiteralArgumentAttr()
657 Expr *ArgExp = AL.getArgAsExpr(Idx); in checkAttrArgsAreCapabilityObjs()
850 Expr *AttrArg = AI.getArgAsExpr(AttrArgNo); in checkParamIsIntegerType()
877 const Expr *SizeExpr = AL.getArgAsExpr(0); in handleAllocSizeAttr()
888 const Expr *NumberExpr = AL.getArgAsExpr(1); in handleAllocSizeAttr()
907 if (!isIntOrBool(AL.getArgAsExpr(0))) { in checkTryLockFunAttrCommon()
926 S.Context, AL, AL.getArgAsExpr(0), Args.data(), Args.size())); in handleSharedTrylockFunctionAttr()
936 S.Context, AL, AL.getArgAsExpr(0), Args.data(), Args.size())); in handleExclusiveTrylockFunctionAttr()
968 Cond = AL.getArgAsExpr(0); in checkFunctionConditionAttr()
1063 S.Diag(AL.getArgAsExpr(2)->getBeginLoc(), in handleDiagnoseIfAttr()
1131 Expr *E = AL.getArgAsExpr(0); in handlePassObjectSizeAttr()
1502 Expr *Ex = AL.getArgAsExpr(I); in handleNonNullAttr()
1588 Expr *E = AL.getArgAsExpr(0), in handleAssumeAlignedAttr()
1589 *OE = AL.getNumArgs() > 1 ? AL.getArgAsExpr(1) : nullptr; in handleAssumeAlignedAttr()
1594 S.AddAllocAlignAttr(D, AL, AL.getArgAsExpr(0)); in handleAllocAlignAttr()
1734 Expr *Ex = AL.getArgAsExpr(i); in handleOwnershipAttr()
2170 !checkUInt32Argument(S, AL, AL.getArgAsExpr(0), priority)) in handleConstructorAttr()
2179 !checkUInt32Argument(S, AL, AL.getArgAsExpr(0), priority)) in handleDestructorAttr()
2533 if (const auto *SE = dyn_cast_or_null<StringLiteral>(AL.getArgAsExpr(0))) in handleExternalSourceSymbolAttr()
2536 if (const auto *SE = dyn_cast_or_null<StringLiteral>(AL.getArgAsExpr(1))) in handleExternalSourceSymbolAttr()
2736 Expr *E = AL.getArgAsExpr(0); in handleSentinelAttr()
2756 Expr *E = AL.getArgAsExpr(1); in handleSentinelAttr()
2890 const Expr *E = AL.getArgAsExpr(i); in handleWorkGroupSize()
2914 const Expr *E = AL.getArgAsExpr(0); in handleSubGroupSize()
3137 Expr *E = AL.getArgAsExpr(0); in handleMinVectorWidthAttr()
3154 Expr *E = AL.getArgAsExpr(0); in handleCleanupAttr()
3231 Expr *IdxExpr = AL.getArgAsExpr(0); in handleFormatArgAttr()
3315 Expr *E = AL.getArgAsExpr(0); in handleInitPriorityAttr()
3389 Expr *IdxExpr = AL.getArgAsExpr(1); in handleFormatAttr()
3441 Expr *FirstArgExpr = AL.getArgAsExpr(2); in handleFormatAttr()
3519 Expr *IdxExpr = AL.getArgAsExpr(I); in handleCallbackAttr()
3744 Args.push_back(AL.getArgAsExpr(Idx)); in handleAnnotateAttr()
3751 S.AddAlignValueAttr(D, AL, AL.getArgAsExpr(0)); in handleAlignValueAttr()
3806 Expr *E = AL.getArgAsExpr(0); in handleAlignedAttr()
4891 Expr *NumParamsExpr = AL.getArgAsExpr(0); in CheckRegparmAttr()
4978 S.AddLaunchBoundsAttr(D, AL, AL.getArgAsExpr(0), in handleLaunchBoundsAttr()
4979 AL.getNumArgs() > 1 ? AL.getArgAsExpr(1) : nullptr); in handleLaunchBoundsAttr()
4991 if (!checkFunctionOrMethodParameterIndex(S, D, AL, 2, AL.getArgAsExpr(1), in handleArgumentWithTypeTagAttr()
4996 if (!checkFunctionOrMethodParameterIndex(S, D, AL, 3, AL.getArgAsExpr(2), in handleArgumentWithTypeTagAttr()
5044 if (!checkFunctionOrMethodParameterIndex(S, D, AL, 1, AL.getArgAsExpr(0), in handleXRayLogArgsAttr()
5057 if (!checkUInt32Argument(S, AL, AL.getArgAsExpr(0), Count, 0, true)) in handlePatchableFunctionEntryAttr()
5060 Expr *Arg = AL.getArgAsExpr(1); in handlePatchableFunctionEntryAttr()
5425 auto *E = AL.getArgAsExpr(0); in handleNSErrorDomain()
5428 auto *DRE = dyn_cast<DeclRefExpr>(AL.getArgAsExpr(0)); in handleNSErrorDomain()
6093 Expr *HandlerIdx = AL.getArgAsExpr(1); in handleSwiftAsyncAttr()
6316 Expr *NumParamsExpr = static_cast<Expr *>(AL.getArgAsExpr(0)); in handleMSP430InterruptAttr()
6725 Expr *MinExpr = AL.getArgAsExpr(0); in handleAMDGPUFlatWorkGroupSizeAttr()
6726 Expr *MaxExpr = AL.getArgAsExpr(1); in handleAMDGPUFlatWorkGroupSizeAttr()
6781 Expr *MinExpr = AL.getArgAsExpr(0); in handleAMDGPUWavesPerEUAttr()
6782 Expr *MaxExpr = (AL.getNumArgs() > 1) ? AL.getArgAsExpr(1) : nullptr; in handleAMDGPUWavesPerEUAttr()
6789 Expr *NumSGPRExpr = AL.getArgAsExpr(0); in handleAMDGPUNumSGPRAttr()
6798 Expr *NumVGPRExpr = AL.getArgAsExpr(0); in handleAMDGPUNumVGPRAttr()
6830 Expr *VersionExpr = static_cast<Expr *>(AL.getArgAsExpr(0)); in handleLayoutVersion()
6831 if (!checkUInt32Argument(S, AL, AL.getArgAsExpr(0), Version)) in handleLayoutVersion()
6986 S.Context, AL, AL.getArgAsExpr(0), Args.data(), Args.size())); in handleTryAcquireCapabilityAttr()
7029 if (AL.isArgExpr(0) && AL.getArgAsExpr(0) && in handleDeprecatedAttr()
7036 else if (AL.isArgExpr(1) && AL.getArgAsExpr(1) && in handleDeprecatedAttr()