Skip to content

Commit d0f1bf6

Browse files
authored
Merge pull request #17790 from slavapestov/remove-unused-function
AST: Remove unused function
2 parents 8d77d95 + b102964 commit d0f1bf6

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/AST/ASTDumper.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -328,15 +328,6 @@ static StringRef getAccessorKindString(AccessorKind value) {
328328

329329
llvm_unreachable("Unhandled AccessorKind in switch.");
330330
}
331-
static StringRef getAccessKindString(AccessKind value) {
332-
switch (value) {
333-
case AccessKind::Read: return "read";
334-
case AccessKind::Write: return "write";
335-
case AccessKind::ReadWrite: return "readwrite";
336-
}
337-
338-
llvm_unreachable("Unhandled AccessKind in switch.");
339-
}
340331
static StringRef
341332
getMagicIdentifierLiteralExprKindString(MagicIdentifierLiteralExpr::Kind value) {
342333
switch (value) {

0 commit comments

Comments
 (0)