Home
last modified time | relevance | path

Searched refs:ArgExp (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Sema/
DSemaDeclAttr.cpp527 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()
[all …]