Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaStmt.cpp454 Expr *CondExpr = in ActOnCaseExpr() local
456 if (!CondExpr) in ActOnCaseExpr()
458 QualType CondType = CondExpr->getType(); in ActOnCaseExpr()
874 Expr *CondExpr = Cond.get().second; in ActOnIfStmt() local
877 !Diags.isIgnored(diag::warn_comma_operator, CondExpr->getExprLoc())) in ActOnIfStmt()
878 CommaVisitor(*this).Visit(CondExpr); in ActOnIfStmt()
881 DiagnoseEmptyStmtBody(CondExpr->getEndLoc(), thenStmt, in ActOnIfStmt()
1057 Expr *CondExpr = Cond.get().second; in ActOnStartOfSwitchStmt() local
1058 assert((Cond.isInvalid() || CondExpr) && "switch with no condition"); in ActOnStartOfSwitchStmt()
1060 if (CondExpr && !CondExpr->isTypeDependent()) { in ActOnStartOfSwitchStmt()
[all …]
H A DSemaExpr.cpp8713 Expr *CondExpr, Expr *LHSExpr, in ActOnConditionalOp() argument
8719 ExprResult CondResult = CorrectDelayedTyposInExpr(CondExpr); in ActOnConditionalOp()
8734 CondExpr = CondResult.get(); in ActOnConditionalOp()
8744 commonExpr = CondExpr; in ActOnConditionalOp()
8783 LHSExpr = CondExpr = opaqueValue; in ActOnConditionalOp()
8789 ExprResult Cond = CondExpr, LHS = LHSExpr, RHS = RHSExpr; in ActOnConditionalOp()
15235 Expr *CondExpr, in ActOnChooseExpr() argument
15238 assert((CondExpr && LHSExpr && RHSExpr) && "Missing type argument(s)"); in ActOnChooseExpr()
15244 if (CondExpr->isTypeDependent() || CondExpr->isValueDependent()) { in ActOnChooseExpr()
15250 CondExpr, &condEval, diag::err_typecheck_choose_expr_requires_constant); in ActOnChooseExpr()
[all …]
H A DSemaOpenMP.cpp8364 ExprResult CondExpr = in buildPreCond() local
8370 if (CondExpr.isUsable()) { in buildPreCond()
8371 if (!SemaRef.Context.hasSameUnqualifiedType(CondExpr.get()->getType(), in buildPreCond()
8373 CondExpr = SemaRef.PerformImplicitConversion( in buildPreCond()
8374 CondExpr.get(), SemaRef.Context.BoolTy, /*Action=*/Sema::AA_Casting, in buildPreCond()
8379 return CondExpr.isUsable() ? CondExpr.get() : Cond; in buildPreCond()
12693 ExprResult CondExpr = BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), in ActOnOpenMPTileDirective() local
12695 if (!CondExpr.isUsable()) in ActOnOpenMPTileDirective()
12723 ForStmt(Context, InitStmt.get(), CondExpr.get(), nullptr, in ActOnOpenMPTileDirective()
12754 ExprResult CondExpr = BuildBinOp(CurScope, LoopHelper.Cond->getExprLoc(), in ActOnOpenMPTileDirective() local
[all …]
H A DSemaExprCXX.cpp3895 ExprResult Sema::CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr) { in CheckCXXBooleanCondition() argument
3906 return (IsConstexpr && !CondExpr->isValueDependent()) in CheckCXXBooleanCondition()
3907 ? CheckConvertedConstantExpression(CondExpr, Context.BoolTy, Value, in CheckCXXBooleanCondition()
3909 : PerformContextuallyConvertToBool(CondExpr); in CheckCXXBooleanCondition()
H A DTreeTransform.h4023 ExprResult CondExpr = getDerived().TransformExpr(Expr); in TransformCondition() local
4025 if (CondExpr.isInvalid()) in TransformCondition()
4028 return getSema().ActOnCondition(nullptr, Loc, CondExpr.get(), Kind); in TransformCondition()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseStmt.cpp1194 ExprResult CondExpr = ParseExpression(); in ParseParenExprOrCondition() local
1197 if (CondExpr.isInvalid()) in ParseParenExprOrCondition()
1200 Cond = Actions.ActOnCondition(getCurScope(), Loc, CondExpr.get(), CK); in ParseParenExprOrCondition()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp3009 ConditionalOperator *CondExpr = in SynthMessageExpr() local
3015 CondExpr); in SynthMessageExpr()
3752 ConditionalOperator *CondExpr = in SynthesizeBlockCall() local
3757 return CondExpr; in SynthesizeBlockCall()
H A DRewriteModernObjC.cpp4583 ConditionalOperator *CondExpr = in SynthesizeBlockCall() local
4588 return CondExpr; in SynthesizeBlockCall()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp2513 const Expr *CondExpr = SS->getCond()->IgnoreParenImpCasts(); in processSwitch() local
2514 if (CondExpr->getType()->getAs<EnumType>()) { in processSwitch()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DMasmParser.cpp6670 const MCExpr *CondExpr; in parseDirectiveWhile() local
6672 if (parseExpression(CondExpr)) in parseDirectiveWhile()
6685 if (!CondExpr->evaluateAsAbsolute(Condition, getStreamer().getAssemblerPtr())) in parseDirectiveWhile()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h5460 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr);
5499 Expr *CondExpr, Expr *LHSExpr,
11878 ExprResult CheckCXXBooleanCondition(Expr *CondExpr, bool IsConstexpr = false);
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExprConstant.cpp5344 FullExpressionRAII CondExpr(Info); in EvaluateStmt() local