Home
last modified time | relevance | path

Searched refs:commonExpr (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang/lib/Sema/
DSemaExpr.cpp8642 Expr *commonExpr = nullptr; in ActOnConditionalOp() local
8644 commonExpr = CondExpr; in ActOnConditionalOp()
8648 if (commonExpr->hasPlaceholderType()) { in ActOnConditionalOp()
8649 ExprResult result = CheckPlaceholderExpr(commonExpr); in ActOnConditionalOp()
8651 commonExpr = result.get(); in ActOnConditionalOp()
8656 && !commonExpr->isTypeDependent() in ActOnConditionalOp()
8657 && commonExpr->getValueKind() == RHSExpr->getValueKind() in ActOnConditionalOp()
8658 && commonExpr->isGLValue() in ActOnConditionalOp()
8659 && commonExpr->isOrdinaryOrBitFieldObject() in ActOnConditionalOp()
8661 && Context.hasSameType(commonExpr->getType(), RHSExpr->getType()))) { in ActOnConditionalOp()
[all …]
DTreeTransform.h10684 ExprResult commonExpr = getDerived().TransformExpr(e->getCommon()); in TransformBinaryConditionalOperator() local
10685 if (commonExpr.isInvalid()) in TransformBinaryConditionalOperator()
10693 commonExpr.get() == e->getCommon() && in TransformBinaryConditionalOperator()
10697 return getDerived().RebuildConditionalOperator(commonExpr.get(), in TransformBinaryConditionalOperator()
/external/clang/lib/Sema/
DSemaExpr.cpp7038 Expr *commonExpr = nullptr; in ActOnConditionalOp() local
7040 commonExpr = CondExpr; in ActOnConditionalOp()
7044 if (commonExpr->hasPlaceholderType()) { in ActOnConditionalOp()
7045 ExprResult result = CheckPlaceholderExpr(commonExpr); in ActOnConditionalOp()
7047 commonExpr = result.get(); in ActOnConditionalOp()
7052 && !commonExpr->isTypeDependent() in ActOnConditionalOp()
7053 && commonExpr->getValueKind() == RHSExpr->getValueKind() in ActOnConditionalOp()
7054 && commonExpr->isGLValue() in ActOnConditionalOp()
7055 && commonExpr->isOrdinaryOrBitFieldObject() in ActOnConditionalOp()
7057 && Context.hasSameType(commonExpr->getType(), RHSExpr->getType()))) { in ActOnConditionalOp()
[all …]
DTreeTransform.h8703 ExprResult commonExpr = getDerived().TransformExpr(e->getCommon()); in TransformBinaryConditionalOperator() local
8704 if (commonExpr.isInvalid()) in TransformBinaryConditionalOperator()
8712 commonExpr.get() == e->getCommon() && in TransformBinaryConditionalOperator()
8716 return getDerived().RebuildConditionalOperator(commonExpr.get(), in TransformBinaryConditionalOperator()