Searched refs:getArgAsExpr (Results 1 – 9 of 9) sorted by relevance
/external/llvm-project/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 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() [all …]
|
D | SemaStmtAttr.cpp | 82 Expr *ValueExpr = A.getArgAsExpr(3); in handleLoopHintAttr() 382 Expr *E = A.getArgAsExpr(0); in handleOpenCLUnrollHint()
|
D | SemaType.cpp | 6173 DASTL.setAttrExprOperand(AL.getArgAsExpr(0)); in fillDependentAddressSpaceTypeLoc() 6188 MTL.setAttrRowOperand(AL.getArgAsExpr(0)); in fillMatrixTypeLoc() 6189 MTL.setAttrColumnOperand(AL.getArgAsExpr(1)); in fillMatrixTypeLoc() 6453 ASArgExpr = static_cast<Expr *>(Attr.getArgAsExpr(0)); in HandleAddressSpaceTypeAttribute() 7317 Str = cast<StringLiteral>(Attr.getArgAsExpr(0))->getString(); in getCCTypeAttr() 7677 SizeExpr = Attr.getArgAsExpr(0); in HandleVectorSizeAttr() 7715 sizeExpr = Attr.getArgAsExpr(0); in HandleExtVectorTypeAttr() 7775 const auto *AttrExpr = Attr.getArgAsExpr(0); in verifyValidIntegerConstantExpr() 8010 RowsExpr = Attr.getArgAsExpr(0); in HandleMatrixTypeAttr() 8029 ColsExpr = Attr.getArgAsExpr(1); in HandleMatrixTypeAttr()
|
/external/llvm-project/clang/examples/Attribute/ |
D | Attribute.cpp | 61 Expr *ArgExpr = Attr.getArgAsExpr(0); in handleDeclAttribute()
|
/external/clang/lib/Sema/ |
D | SemaDeclAttr.cpp | 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() [all …]
|
D | SemaStmtAttr.cpp | 61 Expr *ValueExpr = A.getArgAsExpr(3); in handleLoopHintAttr() 249 Expr *E = A.getArgAsExpr(0); in handleOpenCLUnrollHint()
|
D | SemaType.cpp | 4805 TL.setAttrExprOperand(attrs->getArgAsExpr(0)); in fillAttributedTypeLoc() 4812 TL.setAttrEnumOperandLoc(attrs->getArgAsExpr(0)->getExprLoc()); in fillAttributedTypeLoc() 5283 Expr *ASArgExpr = static_cast<Expr *>(Attr.getArgAsExpr(0)); in HandleAddressSpaceTypeAttribute() 6085 Str = cast<StringLiteral>(Attr.getArgAsExpr(0))->getString(); in getCCTypeAttrKind() 6312 Expr *sizeExpr = static_cast<Expr *>(Attr.getArgAsExpr(0)); in HandleVectorSizeAttr() 6388 sizeExpr = Attr.getArgAsExpr(0); in HandleExtVectorTypeAttr() 6469 Expr *numEltsExpr = static_cast<Expr *>(Attr.getArgAsExpr(0)); in HandleNeonVectorTypeAttr()
|
/external/clang/include/clang/Sema/ |
D | AttributeList.h | 421 Expr *getArgAsExpr(unsigned Arg) const { in getArgAsExpr() function
|
/external/llvm-project/clang/include/clang/Sema/ |
D | ParsedAttr.h | 466 Expr *getArgAsExpr(unsigned Arg) const { in getArgAsExpr() function
|