/external/javassist/src/main/javassist/compiler/ast/ |
D | CondExpr.java | 24 public class CondExpr extends ASTList { class 28 public CondExpr(ASTree cond, ASTree thenp, ASTree elsep) { in CondExpr() method in CondExpr
|
D | Visitor.java | 36 public void atCondExpr(CondExpr n) throws CompileError {} in atCondExpr()
|
/external/starlark-go/syntax/ |
D | syntax.go | 224 func (*CondExpr) expr() {} 432 type CondExpr struct { struct 441 func (x *CondExpr) Span() (start, end Position) { argument
|
D | walk.go | 77 case *CondExpr:
|
D | parse_test.go | 36 …`(Comprehension Body=x Clauses=((ForClause Vars=x X=(ParenExpr X=(CondExpr Cond=b True=a False=c))… 116 `(CondExpr Cond=b True=a False=c)`},
|
D | parse.go | 529 return &CondExpr{If: ifpos, Cond: cond, True: x, ElsePos: elsepos, False: else_}
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaStmt.cpp | 453 Expr *CondExpr = in ActOnCaseExpr() local 455 if (!CondExpr) in ActOnCaseExpr() 457 QualType CondType = CondExpr->getType(); in ActOnCaseExpr() 593 Expr *CondExpr = Cond.get().second; in ActOnIfStmt() local 596 !Diags.isIgnored(diag::warn_comma_operator, CondExpr->getExprLoc())) in ActOnIfStmt() 597 CommaVisitor(*this).Visit(CondExpr); in ActOnIfStmt() 600 DiagnoseEmptyStmtBody(CondExpr->getEndLoc(), thenStmt, in ActOnIfStmt() 777 Expr *CondExpr = Cond.get().second; in ActOnStartOfSwitchStmt() local 778 assert((Cond.isInvalid() || CondExpr) && "switch with no condition"); in ActOnStartOfSwitchStmt() 780 if (CondExpr && !CondExpr->isTypeDependent()) { in ActOnStartOfSwitchStmt() [all …]
|
D | SemaExpr.cpp | 8613 Expr *CondExpr, Expr *LHSExpr, in ActOnConditionalOp() argument 8619 ExprResult CondResult = CorrectDelayedTyposInExpr(CondExpr); in ActOnConditionalOp() 8634 CondExpr = CondResult.get(); in ActOnConditionalOp() 8644 commonExpr = CondExpr; in ActOnConditionalOp() 8683 LHSExpr = CondExpr = opaqueValue; in ActOnConditionalOp() 8689 ExprResult Cond = CondExpr, LHS = LHSExpr, RHS = RHSExpr; in ActOnConditionalOp() 15116 Expr *CondExpr, in ActOnChooseExpr() argument 15119 assert((CondExpr && LHSExpr && RHSExpr) && "Missing type argument(s)"); in ActOnChooseExpr() 15125 if (CondExpr->isTypeDependent() || CondExpr->isValueDependent()) { in ActOnChooseExpr() 15131 CondExpr, &condEval, diag::err_typecheck_choose_expr_requires_constant); in ActOnChooseExpr() [all …]
|
/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()
|
/external/javassist/src/main/javassist/compiler/ |
D | TypeChecker.java | 34 import javassist.compiler.ast.CondExpr; 308 public void atCondExpr(CondExpr expr) throws CompileError { in atCondExpr()
|
D | Parser.java | 26 import javassist.compiler.ast.CondExpr; 743 return new CondExpr(cond, thenExpr, elseExpr); in parseConditionalExpr()
|
D | CodeGen.java | 32 import javassist.compiler.ast.CondExpr; 966 public void atCondExpr(CondExpr expr) throws CompileError { in atCondExpr()
|
/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/python/jinja/src/jinja2/ |
D | nodes.py | 591 class CondExpr(Expr): class
|
D | parser.py | 455 expr1 = nodes.CondExpr(expr2, expr1, expr3, lineno=lineno)
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseStmt.cpp | 1191 ExprResult CondExpr = ParseExpression(); in ParseParenExprOrCondition() local 1194 if (CondExpr.isInvalid()) in ParseParenExprOrCondition() 1197 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/starlark-go/resolve/ |
D | resolve.go | 641 case *syntax.CondExpr:
|
/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()
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
D | RewriteObjC.cpp | 3009 ConditionalOperator *CondExpr = in SynthMessageExpr() local 3015 CondExpr); in SynthMessageExpr() 3752 ConditionalOperator *CondExpr = in SynthesizeBlockCall() local 3757 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()
|