Lines Matching refs:BoolLiteral
383 if (((BoolLiteral&) *test).fValue) { in convertIf()
991 return std::unique_ptr<Expression>(new BoolLiteral(fContext, expr.fOffset, in convertExpression()
1301 bool leftVal = ((BoolLiteral&) left).fValue; in short_circuit_boolean()
1305 : std::unique_ptr<Expression>(new BoolLiteral(context, left.fOffset, false)); in short_circuit_boolean()
1308 return leftVal ? std::unique_ptr<Expression>(new BoolLiteral(context, left.fOffset, true)) in short_circuit_boolean()
1339 bool leftVal = ((BoolLiteral&) left).fValue; in constantFold()
1340 bool rightVal = ((BoolLiteral&) right).fValue; in constantFold()
1348 return std::unique_ptr<Expression>(new BoolLiteral(fContext, left.fOffset, result)); in constantFold()
1424 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold()
1427 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold()
1441 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold()
1444 return std::unique_ptr<Expression>(new BoolLiteral(fContext, -1, in constantFold()
1545 if (((BoolLiteral&) *test).fValue) { in convertTernaryExpression()
1858 return std::unique_ptr<Expression>(new BoolLiteral(fContext, base->fOffset, in convertPrefixExpression()
1859 !((BoolLiteral&) *base).fValue)); in convertPrefixExpression()