| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 454 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 D | SemaExpr.cpp | 8713 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 D | SemaOpenMP.cpp | 8364 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 D | SemaExprCXX.cpp | 3895 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 D | TreeTransform.h | 4023 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 D | ParseStmt.cpp | 1194 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 D | RewriteObjC.cpp | 3009 ConditionalOperator *CondExpr = in SynthMessageExpr() local 3015 CondExpr); in SynthMessageExpr() 3752 ConditionalOperator *CondExpr = in SynthesizeBlockCall() local 3757 return CondExpr; in SynthesizeBlockCall()
|
| H A D | RewriteModernObjC.cpp | 4583 ConditionalOperator *CondExpr = in SynthesizeBlockCall() local 4588 return CondExpr; in SynthesizeBlockCall()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngine.cpp | 2513 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 D | MasmParser.cpp | 6670 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 D | Sema.h | 5460 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 D | ExprConstant.cpp | 5344 FullExpressionRAII CondExpr(Info); in EvaluateStmt() local
|