Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
isuckatcs committed Jun 30, 2024
1 parent da71b98 commit c9961cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/constexpr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ std::optional<double> ConstantExpressionEvaluator::evaluateBinaryOperator(
case TokenKind::PipePipe:
return toBool(*rhs); // The LHS is already handled.
default:
assert(false && "unexpected binary operator");
assert(false && "unexpected binary operator"); // GCOVR_EXCL_LINE
}
}

Expand All @@ -57,7 +57,7 @@ std::optional<double> ConstantExpressionEvaluator::evaluateUnaryOperator(
if (op.op == TokenKind::Excl)
return !toBool(*rhs);

assert(false && "unexpected unary operator");
assert(false && "unexpected unary operator"); // GCOVR_EXCL_LINE
}

std::optional<double> ConstantExpressionEvaluator::evaluateDeclRefExpr(
Expand Down

0 comments on commit c9961cc

Please sign in to comment.