Lines Matching refs:getArgAsExpr
331 Expr *ArgExpr = Attr.getArgAsExpr(ArgNum); in checkStringLiteralArgumentAttr()
527 Expr *ArgExp = Attr.getArgAsExpr(Idx); in checkAttrArgsAreCapabilityObjs()
739 if (!isIntOrBool(Attr.getArgAsExpr(0))) { in checkTryLockFunAttrCommon()
759 Attr.getArgAsExpr(0), in handleSharedTrylockFunctionAttr()
771 Attr.getRange(), S.Context, Attr.getArgAsExpr(0), Args.data(), in handleExclusiveTrylockFunctionAttr()
810 Expr *Cond = Attr.getArgAsExpr(0); in handleEnableIfAttr()
845 Expr *E = Attr.getArgAsExpr(0); in handlePassObjectSizeAttr()
1233 Expr *Ex = Attr.getArgAsExpr(I); in handleNonNullAttr()
1311 Expr *E = Attr.getArgAsExpr(0), in handleAssumeAlignedAttr()
1312 *OE = Attr.getNumArgs() > 1 ? Attr.getArgAsExpr(1) : nullptr; in handleAssumeAlignedAttr()
1427 Expr *Ex = AL.getArgAsExpr(i); in handleOwnershipAttr()
1858 !checkUInt32Argument(S, Attr, Attr.getArgAsExpr(0), priority)) in handleConstructorAttr()
1869 !checkUInt32Argument(S, Attr, Attr.getArgAsExpr(0), priority)) in handleDestructorAttr()
2423 Expr *E = Attr.getArgAsExpr(0); in handleSentinelAttr()
2444 Expr *E = Attr.getArgAsExpr(1); in handleSentinelAttr()
2565 const Expr *E = Attr.getArgAsExpr(i); in handleWorkGroupSize()
2694 Expr *E = Attr.getArgAsExpr(0); in handleCleanupAttr()
2753 Expr *IdxExpr = Attr.getArgAsExpr(0); in handleFormatArgAttr()
2845 Expr *E = Attr.getArgAsExpr(0); in handleInitPriorityAttr()
2919 Expr *IdxExpr = Attr.getArgAsExpr(1); in handleFormatAttr()
2971 Expr *FirstArgExpr = Attr.getArgAsExpr(2); in handleFormatAttr()
3097 S.AddAlignValueAttr(Attr.getRange(), D, Attr.getArgAsExpr(0), in handleAlignValueAttr()
3160 Expr *E = Attr.getArgAsExpr(0); in handleAlignedAttr()
4019 Expr *NumParamsExpr = Attr.getArgAsExpr(0); in CheckRegparmAttr()
4108 S.AddLaunchBoundsAttr(Attr.getRange(), D, Attr.getArgAsExpr(0), in handleLaunchBoundsAttr()
4109 Attr.getNumArgs() > 1 ? Attr.getArgAsExpr(1) : nullptr, in handleLaunchBoundsAttr()
4133 if (!checkFunctionOrMethodParameterIndex(S, D, Attr, 2, Attr.getArgAsExpr(1), in handleArgumentWithTypeTagAttr()
4138 if (!checkFunctionOrMethodParameterIndex(S, D, Attr, 3, Attr.getArgAsExpr(2), in handleArgumentWithTypeTagAttr()
4760 Expr *NumParamsExpr = static_cast<Expr *>(Attr.getArgAsExpr(0)); in handleMSP430InterruptAttr()
4931 Expr *NumRegsExpr = static_cast<Expr *>(Attr.getArgAsExpr(0)); in handleAMDGPUNumVGPRAttr()
4944 Expr *NumRegsExpr = static_cast<Expr *>(Attr.getArgAsExpr(0)); in handleAMDGPUNumSGPRAttr()
4981 Expr *VersionExpr = static_cast<Expr *>(Attr.getArgAsExpr(0)); in handleLayoutVersion()
4982 if (!checkUInt32Argument(S, Attr, Attr.getArgAsExpr(0), Version)) in handleLayoutVersion()
5120 Attr.getArgAsExpr(0), in handleAssertCapabilityAttr()
5144 Attr.getArgAsExpr(0), in handleTryAcquireCapabilityAttr()
5192 if (Attr.isArgExpr(0) && Attr.getArgAsExpr(0) && in handleDeprecatedAttr()
5199 else if (Attr.isArgExpr(1) && Attr.getArgAsExpr(1) && in handleDeprecatedAttr()