Lines Matching refs:BoolLiteral
389 if (((BoolLiteral&) *test).fValue) { in convertIf()
1026 return std::unique_ptr<Expression>(new BoolLiteral(fContext, expr.fOffset, in convertExpression()
1351 bool leftVal = ((BoolLiteral&) left).fValue; in short_circuit_boolean()
1355 : std::unique_ptr<Expression>(new BoolLiteral(context, left.fOffset, false)); in short_circuit_boolean()
1358 return leftVal ? std::unique_ptr<Expression>(new BoolLiteral(context, left.fOffset, true)) in short_circuit_boolean()
1389 bool leftVal = ((BoolLiteral&) left).fValue; in constantFold()
1390 bool rightVal = ((BoolLiteral&) right).fValue; in constantFold()
1398 return std::unique_ptr<Expression>(new BoolLiteral(fContext, left.fOffset, result)); in constantFold()
1473 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold()
1476 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold()
1490 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold()
1493 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold()
1594 if (((BoolLiteral&) *test).fValue) { in convertTernaryExpression()
1908 return std::unique_ptr<Expression>(new BoolLiteral(fContext, base->fOffset, in convertPrefixExpression()
1909 !((BoolLiteral&) *base).fValue)); in convertPrefixExpression()