Lines Matching defs:AlignOp
339 clang::Expr *AlignOp = TheCall->getArg(1);
340 if (!IsValidIntegerType(AlignOp->getType())) {
341 S.Diag(AlignOp->getExprLoc(), diag::err_typecheck_expect_int)
342 << AlignOp->getType();
348 if (!AlignOp->isValueDependent() &&
349 AlignOp->EvaluateAsInt(AlignResult, S.Context,
355 S.Diag(AlignOp->getExprLoc(), diag::err_alignment_too_small) << 1;
359 S.Diag(AlignOp->getExprLoc(), diag::err_alignment_too_big)
364 S.Diag(AlignOp->getExprLoc(), diag::err_alignment_not_power_of_two);
368 S.Diag(AlignOp->getExprLoc(), diag::warn_alignment_builtin_useless)
381 S.Context, AlignOp->getType(), false),
382 SourceLocation(), AlignOp);