Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaStmt.cpp390 if (Expr *CondExpr = in ActOnCaseStmt() local
392 QualType CondType = CondExpr->getType(); in ActOnCaseStmt()
519 Expr *CondExpr = Cond.get().second; in ActOnIfStmt() local
521 CondExpr->getExprLoc())) in ActOnIfStmt()
522 CommaVisitor(*this).Visit(CondExpr); in ActOnIfStmt()
525 DiagnoseEmptyStmtBody(CondExpr->getLocEnd(), thenStmt, in ActOnIfStmt()
750 Expr *CondExpr = SS->getCond(); in ActOnFinishSwitchStmt() local
751 if (!CondExpr) return StmtError(); in ActOnFinishSwitchStmt()
753 QualType CondType = CondExpr->getType(); in ActOnFinishSwitchStmt()
755 Expr *CondExprBeforePromotion = CondExpr; in ActOnFinishSwitchStmt()
[all …]
DSemaExpr.cpp7009 Expr *CondExpr, Expr *LHSExpr, in ActOnConditionalOp() argument
7015 ExprResult CondResult = CorrectDelayedTyposInExpr(CondExpr); in ActOnConditionalOp()
7030 CondExpr = CondResult.get(); in ActOnConditionalOp()
7040 commonExpr = CondExpr; in ActOnConditionalOp()
7069 LHSExpr = CondExpr = opaqueValue; in ActOnConditionalOp()
7074 ExprResult Cond = CondExpr, LHS = LHSExpr, RHS = RHSExpr; in ActOnConditionalOp()
11889 Expr *CondExpr, in ActOnChooseExpr() argument
11892 assert((CondExpr && LHSExpr && RHSExpr) && "Missing type argument(s)"); in ActOnChooseExpr()
11899 if (CondExpr->isTypeDependent() || CondExpr->isValueDependent()) { in ActOnChooseExpr()
11906 = VerifyIntegerConstantExpression(CondExpr, &condEval, in ActOnChooseExpr()
[all …]
DSemaOpenMP.cpp4499 auto CondExpr = SemaRef.BuildBinOp( in BuildPreCond() local
4503 if (CondExpr.isUsable()) { in BuildPreCond()
4504 if (!SemaRef.Context.hasSameUnqualifiedType(CondExpr.get()->getType(), in BuildPreCond()
4506 CondExpr = SemaRef.PerformImplicitConversion( in BuildPreCond()
4507 CondExpr.get(), SemaRef.Context.BoolTy, /*Action=*/Sema::AA_Casting, in BuildPreCond()
4512 return CondExpr.isUsable() ? CondExpr.get() : Cond; in BuildPreCond()
DSemaExprCXX.cpp3118 ExprResult Sema::CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr) { in CheckCXXBooleanCondition() argument
3129 return (IsConstexpr && !CondExpr->isValueDependent()) in CheckCXXBooleanCondition()
3130 ? CheckConvertedConstantExpression(CondExpr, Context.BoolTy, Value, in CheckCXXBooleanCondition()
3132 : PerformContextuallyConvertToBool(CondExpr); in CheckCXXBooleanCondition()
DTreeTransform.h3413 ExprResult CondExpr = getDerived().TransformExpr(Expr); in TransformCondition() local
3415 if (CondExpr.isInvalid()) in TransformCondition()
3418 return getSema().ActOnCondition(nullptr, Loc, CondExpr.get(), Kind); in TransformCondition()
/external/clang/lib/Parse/
DParseStmt.cpp1066 ExprResult CondExpr = ParseExpression(); in ParseParenExprOrCondition() local
1069 if (CondExpr.isInvalid()) in ParseParenExprOrCondition()
1072 Cond = Actions.ActOnCondition(getCurScope(), Loc, CondExpr.get(), CK); in ParseParenExprOrCondition()
/external/libchrome/third_party/jinja2/
Dnodes.py584 class CondExpr(Expr): class
Dparser.py444 expr1 = nodes.CondExpr(expr2, expr1, expr3, lineno=lineno)
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp2997 ConditionalOperator *CondExpr = in SynthMessageExpr() local
3003 CondExpr); in SynthMessageExpr()
3739 ConditionalOperator *CondExpr = in SynthesizeBlockCall() local
3744 return CondExpr; in SynthesizeBlockCall()
DRewriteModernObjC.cpp4580 ConditionalOperator *CondExpr = in SynthesizeBlockCall() local
4585 return CondExpr; in SynthesizeBlockCall()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1871 const Expr *CondExpr = SS->getCond()->IgnoreParenImpCasts(); in processSwitch() local
1872 if (CondExpr->getType()->getAs<EnumType>()) { in processSwitch()
/external/clang/include/clang/Sema/
DSema.h4067 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr);
4102 Expr *CondExpr, Expr *LHSExpr,
9045 ExprResult CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr = false);
/external/clang/lib/AST/
DExprConstant.cpp3777 FullExpressionRAII CondExpr(Info); in EvaluateStmt() local