/external/clang/lib/Sema/ |
D | SemaStmt.cpp | 390 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 …]
|
D | SemaExpr.cpp | 7009 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 …]
|
D | SemaOpenMP.cpp | 4499 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()
|
D | SemaExprCXX.cpp | 3118 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()
|
D | TreeTransform.h | 3413 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/ |
D | ParseStmt.cpp | 1066 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/ |
D | nodes.py | 584 class CondExpr(Expr): class
|
D | parser.py | 444 expr1 = nodes.CondExpr(expr2, expr1, expr3, lineno=lineno)
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 2997 ConditionalOperator *CondExpr = in SynthMessageExpr() local 3003 CondExpr); in SynthMessageExpr() 3739 ConditionalOperator *CondExpr = in SynthesizeBlockCall() local 3744 return CondExpr; in SynthesizeBlockCall()
|
D | RewriteModernObjC.cpp | 4580 ConditionalOperator *CondExpr = in SynthesizeBlockCall() local 4585 return CondExpr; in SynthesizeBlockCall()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngine.cpp | 1871 const Expr *CondExpr = SS->getCond()->IgnoreParenImpCasts(); in processSwitch() local 1872 if (CondExpr->getType()->getAs<EnumType>()) { in processSwitch()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 4067 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr); 4102 Expr *CondExpr, Expr *LHSExpr, 9045 ExprResult CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr = false);
|
/external/clang/lib/AST/ |
D | ExprConstant.cpp | 3777 FullExpressionRAII CondExpr(Info); in EvaluateStmt() local
|