Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp454 Expr *CondExpr = in ActOnCaseExpr() local
456 if (!CondExpr) in ActOnCaseExpr()
874 Expr *CondExpr = Cond.get().second; in ActOnIfStmt() local
878 CommaVisitor(*this).Visit(CondExpr); in ActOnIfStmt()
1057 Expr *CondExpr = Cond.get().second; in ActOnStartOfSwitchStmt() local
1060 if (CondExpr && !CondExpr->isTypeDependent()) { in ActOnStartOfSwitchStmt()
1072 << CondExpr->getSourceRange(); in ActOnStartOfSwitchStmt()
1189 Expr *CondExpr = SS->getCond(); in ActOnFinishSwitchStmt() local
1190 if (!CondExpr) return StmtError(); in ActOnFinishSwitchStmt()
1208 = CondExpr->isTypeDependent() || CondExpr->isValueDependent(); in ActOnFinishSwitchStmt()
[all …]
H A DSemaExpr.cpp8777 Expr *CondExpr, Expr *LHSExpr, in ActOnConditionalOp() argument
8783 ExprResult CondResult = CorrectDelayedTyposInExpr(CondExpr); in ActOnConditionalOp()
8798 CondExpr = CondResult.get(); in ActOnConditionalOp()
8808 commonExpr = CondExpr; in ActOnConditionalOp()
8847 LHSExpr = CondExpr = opaqueValue; in ActOnConditionalOp()
8853 ExprResult Cond = CondExpr, LHS = LHSExpr, RHS = RHSExpr; in ActOnConditionalOp()
15356 Expr *CondExpr, in ActOnChooseExpr() argument
15359 assert((CondExpr && LHSExpr && RHSExpr) && "Missing type argument(s)"); in ActOnChooseExpr()
15365 if (CondExpr->isTypeDependent() || CondExpr->isValueDependent()) { in ActOnChooseExpr()
15374 CondExpr = CondICE.get(); in ActOnChooseExpr()
[all …]
H A DSemaOpenMP.cpp8370 ExprResult CondExpr = in buildPreCond() local
8376 if (CondExpr.isUsable()) { in buildPreCond()
8377 if (!SemaRef.Context.hasSameUnqualifiedType(CondExpr.get()->getType(), in buildPreCond()
8379 CondExpr = SemaRef.PerformImplicitConversion( in buildPreCond()
8385 return CondExpr.isUsable() ? CondExpr.get() : Cond; in buildPreCond()
12744 ExprResult CondExpr = BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), in ActOnOpenMPTileDirective() local
12746 if (!CondExpr.isUsable()) in ActOnOpenMPTileDirective()
12774 ForStmt(Context, InitStmt.get(), CondExpr.get(), nullptr, in ActOnOpenMPTileDirective()
12805 ExprResult CondExpr = BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), in ActOnOpenMPTileDirective() local
12807 if (!CondExpr.isUsable()) in ActOnOpenMPTileDirective()
[all …]
H A DSemaExprCXX.cpp3912 ExprResult Sema::CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr) { in CheckCXXBooleanCondition() argument
3927 ExprResult E = PerformContextuallyConvertToBool(CondExpr); in CheckCXXBooleanCondition()
H A DTreeTransform.h4044 ExprResult CondExpr = getDerived().TransformExpr(Expr); in TransformCondition() local
4046 if (CondExpr.isInvalid()) in TransformCondition()
4049 return getSema().ActOnCondition(nullptr, Loc, CondExpr.get(), Kind); in TransformCondition()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParseStmt.cpp1199 ExprResult CondExpr = ParseExpression(); in ParseParenExprOrCondition() local
1202 if (CondExpr.isInvalid()) in ParseParenExprOrCondition()
1205 Cond = Actions.ActOnCondition(getCurScope(), Loc, CondExpr.get(), CK); in ParseParenExprOrCondition()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp2999 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 DRewriteModernObjC.cpp4572 ConditionalOperator *CondExpr = new (Context) ConditionalOperator( in SynthesizeBlockCall() local
4575 return CondExpr; in SynthesizeBlockCall()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp2515 const Expr *CondExpr = SS->getCond()->IgnoreParenImpCasts(); in processSwitch() local
2516 if (CondExpr->getType()->getAs<EnumType>()) { in processSwitch()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMasmParser.cpp7020 const MCExpr *CondExpr; in parseDirectiveWhile() local
7022 if (parseExpression(CondExpr)) in parseDirectiveWhile()
7035 if (!CondExpr->evaluateAsAbsolute(Condition, getStreamer().getAssemblerPtr())) in parseDirectiveWhile()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h5511 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr);
5550 Expr *CondExpr, Expr *LHSExpr,
11979 ExprResult CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr = false);
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp5347 FullExpressionRAII CondExpr(Info); in EvaluateStmt() local