Skip to content

Commit

Permalink
refactor: remove convertToNoexceptKind
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed Jan 19, 2024
1 parent c5dc7ae commit 49414e4
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/lib/AST/ASTVisitorHelpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,22 +140,6 @@ convertToNoexceptKind(
}
}

NoexceptKind
convertToNoexceptKind(
CanThrowResult kind)
{
using OldKind = CanThrowResult;
using NewKind = NoexceptKind;
switch(kind)
{
case OldKind::CT_Can: return NewKind::False;
case OldKind::CT_Cannot: return NewKind::True;
case OldKind::CT_Dependent: return NewKind::Dependent;
default:
MRDOCS_UNREACHABLE();
}
}

OperatorKind
convertToOperatorKind(
OverloadedOperatorKind kind)
Expand Down

0 comments on commit 49414e4

Please sign in to comment.