| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 471 Expr *CondExpr = in ActOnCaseExpr() local 473 if (!CondExpr) in ActOnCaseExpr() 475 QualType CondType = CondExpr->getType(); in ActOnCaseExpr() 891 Expr *CondExpr = Cond.get().second; in ActOnIfStmt() local 892 assert((CondExpr || ConstevalOrNegatedConsteval) && in ActOnIfStmt() 895 if (CondExpr && (getLangOpts().C99 || getLangOpts().CPlusPlus) && in ActOnIfStmt() 896 !Diags.isIgnored(diag::warn_comma_operator, CondExpr->getExprLoc())) in ActOnIfStmt() 897 CommaVisitor(*this).Visit(CondExpr); in ActOnIfStmt() 1094 Expr *CondExpr = Cond.get().second; in ActOnStartOfSwitchStmt() local 1095 assert((Cond.isInvalid() || CondExpr) && "switch with no condition"); in ActOnStartOfSwitchStmt() [all …]
|
| H A D | SemaExpr.cpp | 9360 Expr *CondExpr, Expr *LHSExpr, in ActOnConditionalOp() argument 9366 ExprResult CondResult = CorrectDelayedTyposInExpr(CondExpr); in ActOnConditionalOp() 9381 CondExpr = CondResult.get(); in ActOnConditionalOp() 9391 commonExpr = CondExpr; in ActOnConditionalOp() 9430 LHSExpr = CondExpr = opaqueValue; in ActOnConditionalOp() 9436 ExprResult Cond = CondExpr, LHS = LHSExpr, RHS = RHSExpr; in ActOnConditionalOp() 16392 Expr *CondExpr, in ActOnChooseExpr() argument 16395 assert((CondExpr && LHSExpr && RHSExpr) && "Missing type argument(s)"); in ActOnChooseExpr() 16401 if (CondExpr->isTypeDependent() || CondExpr->isValueDependent()) { in ActOnChooseExpr() 16407 CondExpr, &condEval, diag::err_typecheck_choose_expr_requires_constant); in ActOnChooseExpr() [all …]
|
| H A D | SemaOpenMP.cpp | 8988 ExprResult CondExpr = in buildPreCond() local 8993 if (CondExpr.isUsable()) { in buildPreCond() 8994 if (!SemaRef.Context.hasSameUnqualifiedType(CondExpr.get()->getType(), in buildPreCond() 8996 CondExpr = SemaRef.PerformImplicitConversion( in buildPreCond() 8997 CondExpr.get(), SemaRef.Context.BoolTy, /*Action=*/Sema::AA_Casting, in buildPreCond() 9002 return CondExpr.isUsable() ? CondExpr.get() : Cond; in buildPreCond() 14797 ExprResult CondExpr = BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), in ActOnOpenMPTileDirective() local 14799 if (!CondExpr.isUsable()) in ActOnOpenMPTileDirective() 14827 ForStmt(Context, InitStmt.get(), CondExpr.get(), nullptr, in ActOnOpenMPTileDirective() 14858 ExprResult CondExpr = BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), in ActOnOpenMPTileDirective() local [all …]
|
| H A D | SemaExprCXX.cpp | 4028 ExprResult Sema::CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr) { in CheckCXXBooleanCondition() argument 4043 ExprResult E = PerformContextuallyConvertToBool(CondExpr); in CheckCXXBooleanCondition()
|
| H A D | TreeTransform.h | 4201 ExprResult CondExpr = getDerived().TransformExpr(Expr); in TransformCondition() local 4203 if (CondExpr.isInvalid()) in TransformCondition() 4206 return getSema().ActOnCondition(nullptr, Loc, CondExpr.get(), Kind, in TransformCondition()
|
| /openbsd-src/gnu/llvm/clang/lib/Parse/ |
| H A D | ParseStmt.cpp | 1289 ExprResult CondExpr = ParseExpression(); in ParseParenExprOrCondition() local 1292 if (CondExpr.isInvalid()) in ParseParenExprOrCondition() 1295 Cond = Actions.ActOnCondition(getCurScope(), Loc, CondExpr.get(), CK, in ParseParenExprOrCondition() 1311 ExprResult CondExpr = Actions.CreateRecoveryExpr( in ParseParenExprOrCondition() local 1314 if (!CondExpr.isInvalid()) in ParseParenExprOrCondition() 1315 Cond = Actions.ActOnCondition(getCurScope(), Loc, CondExpr.get(), CK, in ParseParenExprOrCondition()
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 2999 ConditionalOperator *CondExpr = new (Context) ConditionalOperator( in SynthMessageExpr() local 3003 CondExpr); in SynthMessageExpr() 3740 ConditionalOperator *CondExpr = new (Context) ConditionalOperator( in SynthesizeBlockCall() local 3743 return CondExpr; in SynthesizeBlockCall()
|
| H A D | RewriteModernObjC.cpp | 4573 ConditionalOperator *CondExpr = new (Context) ConditionalOperator( in SynthesizeBlockCall() local 4576 return CondExpr; in SynthesizeBlockCall()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngine.cpp | 3022 const Expr *CondExpr = SS->getCond()->IgnoreParenImpCasts(); in processSwitch() local 3023 if (CondExpr->getType()->getAs<EnumType>()) { in processSwitch()
|
| /openbsd-src/gnu/llvm/llvm/lib/MC/MCParser/ |
| H A D | MasmParser.cpp | 7003 const MCExpr *CondExpr; in parseDirectiveWhile() local 7005 if (parseExpression(CondExpr)) in parseDirectiveWhile() 7018 if (!CondExpr->evaluateAsAbsolute(Condition, getStreamer().getAssemblerPtr())) in parseDirectiveWhile()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | ScalarEvolution.cpp | 6219 createNodeForSelectViaUMinSeq(ScalarEvolution *SE, const SCEV *CondExpr, in createNodeForSelectViaUMinSeq() argument 6221 assert(CondExpr->getType()->isIntegerTy(1) && in createNodeForSelectViaUMinSeq() 6240 CondExpr = SE->getNotSCEV(CondExpr); in createNodeForSelectViaUMinSeq() 6247 return SE->getAddExpr(C, SE->getUMinExpr(CondExpr, SE->getMinusSCEV(X, C), in createNodeForSelectViaUMinSeq()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
| H A D | Sema.h | 5935 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr); 5974 Expr *CondExpr, Expr *LHSExpr, 12873 ExprResult CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr = false);
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 5435 FullExpressionRAII CondExpr(Info); in EvaluateStmt() local
|