Home
last modified time | relevance | path

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

/external/javassist/src/main/javassist/compiler/ast/
DCondExpr.java23 public class CondExpr extends ASTList { class
24 public CondExpr(ASTree cond, ASTree thenp, ASTree elsep) { in CondExpr() method in CondExpr
DVisitor.java35 public void atCondExpr(CondExpr n) throws CompileError {} in atCondExpr()
/external/clang/lib/Sema/
DSemaStmt.cpp574 Expr *CondExpr = SS->getCond(); in ActOnFinishSwitchStmt() local
575 if (!CondExpr) return StmtError(); in ActOnFinishSwitchStmt()
577 QualType CondType = CondExpr->getType(); in ActOnFinishSwitchStmt()
579 Expr *CondExprBeforePromotion = CondExpr; in ActOnFinishSwitchStmt()
590 if (!CondExpr->isTypeDependent()) { in ActOnFinishSwitchStmt()
597 if (CondExpr->isKnownToHaveBooleanValue()) { in ActOnFinishSwitchStmt()
602 << CondExpr->getSourceRange(); in ActOnFinishSwitchStmt()
609 = CondExpr->isTypeDependent() || CondExpr->isValueDependent(); in ActOnFinishSwitchStmt()
854 Diag(CondExpr->getExprLoc(), diag::warn_missing_case_for_condition) in ActOnFinishSwitchStmt()
856 << CondExpr->getSourceRange(); in ActOnFinishSwitchStmt()
[all …]
DSemaExpr.cpp5089 Expr *CondExpr, Expr *LHSExpr, in ActOnConditionalOp() argument
5096 commonExpr = CondExpr; in ActOnConditionalOp()
5118 LHSExpr = CondExpr = opaqueValue; in ActOnConditionalOp()
5123 ExprResult Cond = Owned(CondExpr), LHS = Owned(LHSExpr), RHS = Owned(RHSExpr); in ActOnConditionalOp()
8838 Expr *CondExpr, in ActOnChooseExpr() argument
8841 assert((CondExpr && LHSExpr && RHSExpr) && "Missing type argument(s)"); in ActOnChooseExpr()
8847 if (CondExpr->isTypeDependent() || CondExpr->isValueDependent()) { in ActOnChooseExpr()
8853 ExprResult CondICE = VerifyIntegerConstantExpression(CondExpr, &condEval, in ActOnChooseExpr()
8857 CondExpr = CondICE.take(); in ActOnChooseExpr()
8868 return Owned(new (Context) ChooseExpr(BuiltinLoc, CondExpr, LHSExpr, RHSExpr, in ActOnChooseExpr()
DSemaExprCXX.cpp2242 ExprResult Sema::CheckCXXBooleanCondition(Expr *CondExpr) { in CheckCXXBooleanCondition() argument
2251 return PerformContextuallyConvertToBool(CondExpr); in CheckCXXBooleanCondition()
/external/javassist/src/main/javassist/compiler/
DTypeChecker.java281 public void atCondExpr(CondExpr expr) throws CompileError { in atCondExpr()
DParser.java726 return new CondExpr(cond, thenExpr, elseExpr); in parseConditionalExpr()
DCodeGen.java916 public void atCondExpr(CondExpr expr) throws CompileError { in atCondExpr()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1414 const Expr *CondExpr = SS->getCond()->IgnoreParenImpCasts(); in processSwitch() local
1415 if (CondExpr->getType()->getAs<EnumType>()) { in processSwitch()
/external/clang/lib/Rewrite/
DRewriteObjC.cpp3071 ConditionalOperator *CondExpr = in SynthMessageExpr() local
3077 CondExpr); in SynthMessageExpr()
3831 ConditionalOperator *CondExpr = in SynthesizeBlockCall() local
3836 return CondExpr; in SynthesizeBlockCall()
DRewriteModernObjC.cpp3405 ConditionalOperator *CondExpr = in SynthMessageExpr() local
3411 CondExpr); in SynthMessageExpr()
4287 ConditionalOperator *CondExpr = in SynthesizeBlockCall() local
4292 return CondExpr; in SynthesizeBlockCall()
/external/clang/include/clang/Sema/
DSema.h2826 Expr *CondExpr, Expr *LHSExpr, Expr *RHSExpr);
2863 Expr *CondExpr, Expr *LHSExpr,
6560 ExprResult CheckCXXBooleanCondition(Expr *CondExpr);