/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | RedundantExpressionCheck.cpp | 438 AST_MATCHER(Expr, isIntegerConstantExpr) { in AST_MATCHER() argument 441 return Node.isIntegerConstantExpr(Finder->getASTContext()); in AST_MATCHER() 492 return expr(isIntegerConstantExpr()).bind(CstId); in matchIntegerConstantExpr() 524 expr(unless(isIntegerConstantExpr())).bind(SymId)); in matchSymbolicExpr() 682 !Arg->isIntegerConstantExpr(*Result.Context)) in retrieveRelationalIntegerConstantExpr() 713 return !E->isValueDependent() && E->isIntegerConstantExpr(*AstCtx); in areSidesBinaryConstExpressions() 742 return !E->isValueDependent() && E->isIntegerConstantExpr(*AstCtx); in retrieveConstExprFromBothSides()
|
/external/clang/lib/Sema/ |
D | SemaStmtAttr.cpp | 252 if (!E->isIntegerConstantExpr(ArgVal, S.Context)) { in handleOpenCLUnrollHint()
|
D | SemaAttr.cpp | 142 !Alignment->isIntegerConstantExpr(Val, Context) || in ActOnPragmaPack()
|
D | SemaDeclAttr.cpp | 226 !Expr->isIntegerConstantExpr(I, S.Context)) { in checkUInt32Argument() 283 !IdxExpr->isIntegerConstantExpr(IdxInt, S.Context)) { in checkFunctionOrMethodParameterIndex() 1333 if (!E->isIntegerConstantExpr(I, Context)) { in AddAssumeAlignedAttr() 1355 if (!OE->isIntegerConstantExpr(I, Context)) { in AddAssumeAlignedAttr() 2426 !E->isIntegerConstantExpr(Idx, S.Context)) { in handleSentinelAttr() 2447 !E->isIntegerConstantExpr(Idx, S.Context)) { in handleSentinelAttr() 4059 if (!E->isIntegerConstantExpr(I, S.Context)) { in makeLaunchBoundsArgExpr() 4762 if (!NumParamsExpr->isIntegerConstantExpr(NumParams, S.Context)) { in handleMSP430InterruptAttr()
|
D | SemaChecking.cpp | 1521 if (Arg->isIntegerConstantExpr(AbortCode, Context) && in CheckSystemZBuiltinFunctionCall() 2597 if (SubExprs[1]->isIntegerConstantExpr(Result, Context) && in SemaAtomicOpsOverloaded() 3434 if (!TheCall->getArg(i)->isIntegerConstantExpr(Result, Context)) in SemaBuiltinShuffleVector() 3575 if (!Arg->isIntegerConstantExpr(Result, Context)) in SemaBuiltinConstantArg() 7232 if (BO->getRHS()->isIntegerConstantExpr(shift, C) && in GetExprRange() 7263 if (BO->getRHS()->isIntegerConstantExpr(divisor, C)) { in GetExprRange() 7387 return E->isIntegerConstantExpr(Value, S.Context) && Value == 0; in IsZero() 7671 RHS->isIntegerConstantExpr(RHSValue, S.Context); in AnalyzeComparison() 7674 LHS->isIntegerConstantExpr(LHSValue, S.Context); in AnalyzeComparison() 7683 IsComparisonConstant = E->isIntegerConstantExpr(S.Context); in AnalyzeComparison() [all …]
|
D | SemaOpenMP.cpp | 4078 bool IsConstant = NewStep->isIntegerConstantExpr(Result, SemaRef.Context); in SetStep() 4879 if (E->isIntegerConstantExpr(Result, SemaRef.Context)) in FitsInto() 5096 LastIteration.get()->isIntegerConstantExpr(Result, SemaRef.Context); in CheckOpenMPLoop() 7429 if (ValExpr->isIntegerConstantExpr(Result, SemaRef.Context) && in IsNonNegativeIntegerValue() 7862 if (ValExpr->isIntegerConstantExpr(Result, Context)) { in ActOnOpenMPScheduleClause() 9720 bool IsConstant = StepExpr->isIntegerConstantExpr(Result, Context); in ActOnOpenMPLinearClause() 11417 if (ValExpr->isIntegerConstantExpr(Result, Context)) { in ActOnOpenMPDistScheduleClause()
|
D | SemaType.cpp | 2303 if (!ArraySize->isIntegerConstantExpr(vecSize, Context)) { in BuildExtVectorType() 5286 !ASArgExpr->isIntegerConstantExpr(addrSpace, S.Context)) { in HandleAddressSpaceTypeAttribute() 6315 !sizeExpr->isIntegerConstantExpr(vecSize, S.Context)) { in HandleVectorSizeAttr() 6472 !numEltsExpr->isIntegerConstantExpr(numEltsInt, S.Context)) { in HandleNeonVectorTypeAttr()
|
D | SemaCast.cpp | 1829 && !SrcExpr->isIntegerConstantExpr(Self.Context) in checkIntToPointerCast()
|
D | SemaOverload.cpp | 328 Initializer->isIntegerConstantExpr(IntConstantValue, Ctx)) { in getNarrowingKind() 401 if (!Initializer->isIntegerConstantExpr(InitializerValue, Ctx)) { in getNarrowingKind() 1737 From->isIntegerConstantExpr(S.getASTContext()) && in IsStandardConversion() 1944 MemberDecl->getBitWidth()->isIntegerConstantExpr(BitWidth, Context)) { in IsIntegralPromotion()
|
D | SemaInit.cpp | 4889 !Initializer->isIntegerConstantExpr(S.getASTContext())) in TryOCLSamplerInitialization() 4909 !Initializer->isIntegerConstantExpr(S.getASTContext()) || in TryOCLZeroEventInitialization()
|
D | SemaStmt.cpp | 1191 SrcExpr->isIntegerConstantExpr(Context)) { in DiagnoseAssignmentEnum()
|
/external/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 2431 bool IsConst = E->getArg(i)->isIntegerConstantExpr(Result,getContext()); in EmitBuiltinExpr() 3341 if (!Arg->isIntegerConstantExpr(NeonTypeConst, getContext())) in EmitCommonNeonBuiltinExpr() 4344 bool IsConst = E->getArg(i)->isIntegerConstantExpr(Result, getContext()); in EmitARMBuiltinExpr() 4405 if (!Arg->isIntegerConstantExpr(Result, getContext())) in EmitARMBuiltinExpr() 4670 if (!Arg->isIntegerConstantExpr(Result, CGF.getContext())) in EmitAArch64TblBuiltinExpr() 5035 bool IsConst = E->getArg(i)->isIntegerConstantExpr(Result, getContext()); in EmitAArch64BuiltinExpr() 5056 if (Arg->isIntegerConstantExpr(Result, getContext())) in EmitAArch64BuiltinExpr() 6723 bool IsConst = E->getArg(i)->isIntegerConstantExpr(Result, getContext()); in EmitX86BuiltinExpr() 7835 bool IsConstM4 = E->getArg(1)->isIntegerConstantExpr(M4, getContext()); in EmitSystemZBuiltinExpr() 7836 bool IsConstM5 = E->getArg(2)->isIntegerConstantExpr(M5, getContext()); in EmitSystemZBuiltinExpr()
|
D | CGExpr.cpp | 3066 if (Length->isIntegerConstantExpr(ConstLength, C)) { in EmitOMPArraySectionExpr() 3072 if (LowerBound && LowerBound->isIntegerConstantExpr(ConstLowerBound, C)) { in EmitOMPArraySectionExpr() 3111 if (Length->isIntegerConstantExpr(ConstLength, C)) in EmitOMPArraySectionExpr()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 488 bool isIntegerConstantExpr(llvm::APSInt &Result, const ASTContext &Ctx, 491 bool isIntegerConstantExpr(const ASTContext &Ctx,
|
/external/clang/lib/AST/ |
D | MicrosoftMangle.cpp | 1162 if (E->isIntegerConstantExpr(Value, Context.getASTContext())) { in mangleExpression()
|
D | ExprConstant.cpp | 9741 bool Expr::isIntegerConstantExpr(const ASTContext &Ctx, in isIntegerConstantExpr() function in Expr 9754 bool Expr::isIntegerConstantExpr(llvm::APSInt &Value, const ASTContext &Ctx, in isIntegerConstantExpr() function in Expr 9759 if (!isIntegerConstantExpr(Ctx, Loc)) in isIntegerConstantExpr()
|
D | Type.cpp | 2767 bool isICE = noexceptExpr->isIntegerConstantExpr(value, ctx, nullptr, in getNoexceptSpec()
|
D | Decl.cpp | 2243 Eval->IsICE = Init->isIntegerConstantExpr(getASTContext()); in checkInitIsICE()
|
D | Expr.cpp | 3236 if (!isIntegerConstantExpr(Ctx)) in isNullPointerConstant()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaCast.cpp | 2047 && !SrcExpr->isIntegerConstantExpr(Self.Context) in checkIntToPointerCast()
|
D | SemaOverload.cpp | 1938 From->isIntegerConstantExpr(S.getASTContext()) && in IsStandardConversion() 1943 From->isIntegerConstantExpr(S.getASTContext()) && in IsStandardConversion() 1948 From->isIntegerConstantExpr(S.getASTContext())) { in IsStandardConversion()
|
D | SemaInit.cpp | 5512 (!Initializer->isIntegerConstantExpr(S.Context) && in TryOCLSamplerInitialization() 5521 return Initializer->isIntegerConstantExpr(S.getASTContext()) && in IsZeroInitializer()
|
D | SemaStmt.cpp | 1319 SrcExpr->isIntegerConstantExpr(Context)) { in DiagnoseAssignmentEnum()
|
/external/llvm-project/clang/lib/AST/ |
D | Decl.cpp | 2453 Eval->HasICEInit = Init->isIntegerConstantExpr(Context); in hasICEInitializer()
|
D | Expr.cpp | 3710 if (!isIntegerConstantExpr(Ctx)) in isNullPointerConstant()
|