Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmt.cpp405 Expr *CondExpr = in ActOnCaseExpr() local
407 if (!CondExpr) in ActOnCaseExpr()
550 Expr *CondExpr = Cond.get().second; in ActOnIfStmt() local
554 CommaVisitor(*this).Visit(CondExpr); in ActOnIfStmt()
706 Expr *CondExpr = Cond.get().second; in ActOnStartOfSwitchStmt() local
709 if (CondExpr && !CondExpr->isTypeDependent()) { in ActOnStartOfSwitchStmt()
721 << CondExpr->getSourceRange(); in ActOnStartOfSwitchStmt()
837 Expr *CondExpr = SS->getCond(); in ActOnFinishSwitchStmt() local
838 if (!CondExpr) return StmtError(); in ActOnFinishSwitchStmt()
856 = CondExpr->isTypeDependent() || CondExpr->isValueDependent(); in ActOnFinishSwitchStmt()
[all …]
H A DSemaExpr.cpp7473 Expr *CondExpr, Expr *LHSExpr, in ActOnConditionalOp() argument
7479 ExprResult CondResult = CorrectDelayedTyposInExpr(CondExpr); in ActOnConditionalOp()
7494 CondExpr = CondResult.get(); in ActOnConditionalOp()
7504 commonExpr = CondExpr; in ActOnConditionalOp()
7543 LHSExpr = CondExpr = opaqueValue; in ActOnConditionalOp()
7549 ExprResult Cond = CondExpr, LHS = LHSExpr, RHS = RHSExpr; in ActOnConditionalOp()
13479 Expr *CondExpr, in ActOnChooseExpr() argument
13482 assert((CondExpr && LHSExpr && RHSExpr) && "Missing type argument(s)"); in ActOnChooseExpr()
13489 if (CondExpr->isTypeDependent() || CondExpr->isValueDependent()) { in ActOnChooseExpr()
13496 = VerifyIntegerConstantExpression(CondExpr, &condEval, in ActOnChooseExpr()
[all …]
H A DSemaExprCXX.cpp3672 ExprResult Sema::CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr) { in CheckCXXBooleanCondition() argument
3683 return (IsConstexpr && !CondExpr->isValueDependent()) in CheckCXXBooleanCondition()
3684 ? CheckConvertedConstantExpression(CondExpr, Context.BoolTy, Value, in CheckCXXBooleanCondition()
3686 : PerformContextuallyConvertToBool(CondExpr); in CheckCXXBooleanCondition()
H A DSemaOpenMP.cpp4570 ExprResult CondExpr = in buildPreCond() local
4576 if (CondExpr.isUsable()) { in buildPreCond()
4577 if (!SemaRef.Context.hasSameUnqualifiedType(CondExpr.get()->getType(), in buildPreCond()
4579 CondExpr = SemaRef.PerformImplicitConversion( in buildPreCond()
4580 CondExpr.get(), SemaRef.Context.BoolTy, /*Action=*/Sema::AA_Casting, in buildPreCond()
4585 return CondExpr.isUsable() ? CondExpr.get() : Cond; in buildPreCond()
H A DTreeTransform.h3551 ExprResult CondExpr = getDerived().TransformExpr(Expr); in TransformCondition() local
3553 if (CondExpr.isInvalid()) in TransformCondition()
3556 return getSema().ActOnCondition(nullptr, Loc, CondExpr.get(), Kind); in TransformCondition()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParseStmt.cpp1107 ExprResult CondExpr = ParseExpression(); in ParseParenExprOrCondition() local
1110 if (CondExpr.isInvalid()) in ParseParenExprOrCondition()
1113 Cond = Actions.ActOnCondition(getCurScope(), Loc, CondExpr.get(), CK); in ParseParenExprOrCondition()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2997 ConditionalOperator *CondExpr = in SynthMessageExpr() local
3003 CondExpr); in SynthMessageExpr()
3739 ConditionalOperator *CondExpr = in SynthesizeBlockCall() local
3744 return CondExpr; in SynthesizeBlockCall()
H A DRewriteModernObjC.cpp4575 ConditionalOperator *CondExpr = in SynthesizeBlockCall() local
4580 return CondExpr; in SynthesizeBlockCall()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp2351 const Expr *CondExpr = SS->getCond()->IgnoreParenImpCasts(); in processSwitch() local
2352 if (CondExpr->getType()->getAs<EnumType>()) { in processSwitch()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h4459 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr);
4494 Expr *CondExpr, Expr *LHSExpr,
9960 ExprResult CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr = false);
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExprConstant.cpp4262 FullExpressionRAII CondExpr(Info); in EvaluateStmt() local