reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/AST/Expr.h
  506   bool isIntegerConstantExpr(llvm::APSInt &Result, const ASTContext &Ctx,

References

tools/clang/lib/AST/ASTContext.cpp
 9070           if (E && E->isIntegerConstantExpr(TheInt, *this))
tools/clang/lib/AST/MicrosoftMangle.cpp
 1364   if (E->isIntegerConstantExpr(Value, Context.getASTContext())) {
tools/clang/lib/CodeGen/CGBuiltin.cpp
 4168         bool IsConst = E->getArg(i)->isIntegerConstantExpr(Result,getContext());
 5243   if (!Arg->isIntegerConstantExpr(NeonTypeConst, getContext()))
 6422       bool IsConst = E->getArg(i)->isIntegerConstantExpr(Result, getContext());
 6626   if (!Arg->isIntegerConstantExpr(Result, getContext()))
 6933   if (!Arg->isIntegerConstantExpr(Result, CGF.getContext()))
 7473       bool IsConst = E->getArg(i)->isIntegerConstantExpr(Result, getContext());
 7494   if (Arg->isIntegerConstantExpr(Result, getContext()))
10183     bool IsConst = E->getArg(i)->isIntegerConstantExpr(Result, getContext());
13171     bool IsConstM4 = E->getArg(1)->isIntegerConstantExpr(M4, getContext());
13172     bool IsConstM5 = E->getArg(2)->isIntegerConstantExpr(M5, getContext());
13218     bool IsConstM4 = E->getArg(2)->isIntegerConstantExpr(M4, getContext());
13248     bool IsConstM4 = E->getArg(2)->isIntegerConstantExpr(M4, getContext());
13911     if (!E->getArg(3)->isIntegerConstantExpr(isColMajorArg, getContext()))
13955     if (!E->getArg(3)->isIntegerConstantExpr(isColMajorArg, getContext()))
14005     if (!E->getArg(4)->isIntegerConstantExpr(LayoutArg, getContext()))
14013     else if (!E->getArg(5)->isIntegerConstantExpr(SatfArg, getContext()))
14085     if (!E->getArg(0)->isIntegerConstantExpr(SegConst, getContext()))
14088     if (!E->getArg(1)->isIntegerConstantExpr(MemConst, getContext()))
14101     if (!E->getArg(0)->isIntegerConstantExpr(SegConst, getContext()))
14230     if (!E->getArg(1)->isIntegerConstantExpr(LaneConst, getContext()))
14258     if (!E->getArg(1)->isIntegerConstantExpr(LaneConst, getContext()))
tools/clang/lib/CodeGen/CGExpr.cpp
 3674       if (Length->isIntegerConstantExpr(ConstLength, C)) {
 3680       if (LowerBound && LowerBound->isIntegerConstantExpr(ConstLowerBound, C)) {
 3719         if (Length->isIntegerConstantExpr(ConstLength, C))
tools/clang/lib/Sema/SemaAttr.cpp
  302         !Alignment->isIntegerConstantExpr(Val, Context) ||
tools/clang/lib/Sema/SemaChecking.cpp
 1982   if (!TheCall->getArg(1)->isIntegerConstantExpr(Value, Context)) {
 3305     if (Arg->isIntegerConstantExpr(AbortCode, Context) &&
 4957     if (SubExprs[1]->isIntegerConstantExpr(Result, Context) &&
 4967     if (Scope->isIntegerConstantExpr(Result, Context) &&
 5832   if(!TheCall->getArg(2)->isIntegerConstantExpr(Value, Context))
 5928     if (!TheCall->getArg(i)->isIntegerConstantExpr(Result, Context))
 6186   if (!Arg->isIntegerConstantExpr(Result, Context))
10334       if (BO->getRHS()->isIntegerConstantExpr(shift, C) &&
10365       if (BO->getRHS()->isIntegerConstantExpr(divisor, C)) {
10801     bool IsRHSIntegralLiteral = RHS->isIntegerConstantExpr(RHSValue, S.Context);
10802     bool IsLHSIntegralLiteral = LHS->isIntegerConstantExpr(LHSValue, S.Context);
11799       if (E->isIntegerConstantExpr(SourceInt, S.Context)) {
13589             (RHS && RHS->isIntegerConstantExpr(Value, Context) && Value == 0);
tools/clang/lib/Sema/SemaDecl.cpp
12774     if (!MagicValueExpr->isIntegerConstantExpr(MagicValueInt, Context)) {
tools/clang/lib/Sema/SemaDeclAttr.cpp
  246       !Expr->isIntegerConstantExpr(I, S.Context)) {
  338       !IdxExpr->isIntegerConstantExpr(IdxInt, S.Context)) {
 1561     if (!E->isIntegerConstantExpr(I, Context)) {
 1583       if (!OE->isIntegerConstantExpr(I, Context)) {
 2643         !E->isIntegerConstantExpr(Idx, S.Context)) {
 2663         !E->isIntegerConstantExpr(Idx, S.Context)) {
 4711   if (!E->isIntegerConstantExpr(I, S.Context)) {
 5489   if (!NumParamsExpr->isIntegerConstantExpr(NumParams, S.Context)) {
tools/clang/lib/Sema/SemaExprCXX.cpp
 2006       if ((*ArraySize)->isIntegerConstantExpr(Value, Context)) {
tools/clang/lib/Sema/SemaOpenMP.cpp
 5500     bool IsConstant = NewStep->isIntegerConstantExpr(Result, SemaRef.Context);
 6844   if (E->isIntegerConstantExpr(Result, SemaRef.Context))
 7118       LastIteration.get()->isIntegerConstantExpr(Result, SemaRef.Context);
11097     if (ValExpr->isIntegerConstantExpr(Result, SemaRef.Context) &&
11659       if (ValExpr->isIntegerConstantExpr(Result, Context)) {
13910     bool IsConstant = StepExpr->isIntegerConstantExpr(Result, Context);
16100       if (ValExpr->isIntegerConstantExpr(Result, Context)) {
tools/clang/lib/Sema/SemaOverload.cpp
  352       if (Initializer->isIntegerConstantExpr(IntConstantValue, Ctx)) {
  435       if (!Initializer->isIntegerConstantExpr(InitializerValue, Ctx)) {
 2126           MemberDecl->getBitWidth()->isIntegerConstantExpr(BitWidth, Context)) {
tools/clang/lib/Sema/SemaStmtAttr.cpp
  301     if (!E->isIntegerConstantExpr(ArgVal, S.Context)) {
tools/clang/lib/Sema/SemaType.cpp
 2365   if (!SizeExpr->isIntegerConstantExpr(VecSize, Context)) {
 2422     if (!ArraySize->isIntegerConstantExpr(vecSize, Context)) {
 5897     if (!AddrSpace->isIntegerConstantExpr(addrSpace, S.Context)) {
 7283       !numEltsExpr->isIntegerConstantExpr(numEltsInt, S.Context)) {
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/NarrowingConversionsCheck.cpp
   74   if (E.isIntegerConstantExpr(IntegerConstant, Ctx))
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProBoundsConstantArrayIndexCheck.cpp
   75   if (!IndexExpr->isIntegerConstantExpr(Index, *Result.Context, nullptr,
tools/clang/tools/extra/clang-tidy/misc/RedundantExpressionCheck.cpp
  350   return ConstExpr && ConstExpr->isIntegerConstantExpr(Value, *Result.Context);
  528           !Arg->isIntegerConstantExpr(Value, *Result.Context))
 1042     if (!ShiftingConst->isIntegerConstantExpr(ShiftingValue, *Result.Context))
 1048     if (!AndConst->isIntegerConstantExpr(AndValue, *Result.Context))
tools/clang/tools/extra/clang-tidy/modernize/LoopConvertUtils.cpp
  442   if (!ConditionExpr->isIntegerConstantExpr(ConditionSize, *Context))
tools/lldb/source/Symbol/ClangASTContext.cpp
 1718       if (bit_width_expr->isIntegerConstantExpr(bit_width_apsint, *ast)) {