Skip to content

Commit 49414e4

Browse files
committed
refactor: remove convertToNoexceptKind
1 parent c5dc7ae commit 49414e4

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/lib/AST/ASTVisitorHelpers.hpp

-16
Original file line numberDiff line numberDiff line change
@@ -140,22 +140,6 @@ convertToNoexceptKind(
140140
}
141141
}
142142

143-
NoexceptKind
144-
convertToNoexceptKind(
145-
CanThrowResult kind)
146-
{
147-
using OldKind = CanThrowResult;
148-
using NewKind = NoexceptKind;
149-
switch(kind)
150-
{
151-
case OldKind::CT_Can: return NewKind::False;
152-
case OldKind::CT_Cannot: return NewKind::True;
153-
case OldKind::CT_Dependent: return NewKind::Dependent;
154-
default:
155-
MRDOCS_UNREACHABLE();
156-
}
157-
}
158-
159143
OperatorKind
160144
convertToOperatorKind(
161145
OverloadedOperatorKind kind)

0 commit comments

Comments
 (0)