Lines Matching refs:ArgExp
527 Expr *ArgExp = Attr.getArgAsExpr(Idx); in checkAttrArgsAreCapabilityObjs() local
529 if (ArgExp->isTypeDependent()) { in checkAttrArgsAreCapabilityObjs()
531 Args.push_back(ArgExp); in checkAttrArgsAreCapabilityObjs()
535 if (StringLiteral *StrLit = dyn_cast<StringLiteral>(ArgExp)) { in checkAttrArgsAreCapabilityObjs()
540 Args.push_back(ArgExp); in checkAttrArgsAreCapabilityObjs()
548 Args.push_back(ArgExp); in checkAttrArgsAreCapabilityObjs()
552 QualType ArgTy = ArgExp->getType(); in checkAttrArgsAreCapabilityObjs()
556 if (UnaryOperator *UOp = dyn_cast<UnaryOperator>(ArgExp)) in checkAttrArgsAreCapabilityObjs()
568 IntegerLiteral *IL = dyn_cast<IntegerLiteral>(ArgExp); in checkAttrArgsAreCapabilityObjs()
587 if (!typeHasCapability(S, ArgTy) && !isCapabilityExpr(S, ArgExp)) in checkAttrArgsAreCapabilityObjs()
591 Args.push_back(ArgExp); in checkAttrArgsAreCapabilityObjs()