Lines Matching refs:ArgExp
657 Expr *ArgExp = AL.getArgAsExpr(Idx); in checkAttrArgsAreCapabilityObjs() local
659 if (ArgExp->isTypeDependent()) { in checkAttrArgsAreCapabilityObjs()
661 Args.push_back(ArgExp); in checkAttrArgsAreCapabilityObjs()
665 if (const auto *StrLit = dyn_cast<StringLiteral>(ArgExp)) { in checkAttrArgsAreCapabilityObjs()
670 Args.push_back(ArgExp); in checkAttrArgsAreCapabilityObjs()
677 Args.push_back(ArgExp); in checkAttrArgsAreCapabilityObjs()
681 QualType ArgTy = ArgExp->getType(); in checkAttrArgsAreCapabilityObjs()
685 if (const auto *UOp = dyn_cast<UnaryOperator>(ArgExp)) in checkAttrArgsAreCapabilityObjs()
697 const auto *IL = dyn_cast<IntegerLiteral>(ArgExp); in checkAttrArgsAreCapabilityObjs()
717 if (!typeHasCapability(S, ArgTy) && !isCapabilityExpr(S, ArgExp)) in checkAttrArgsAreCapabilityObjs()
721 Args.push_back(ArgExp); in checkAttrArgsAreCapabilityObjs()