Skip to content

Commit c7054ae

Browse files
committed
SwiftASTContext: Remove redundant type check in GetTypeName
1 parent 227d496 commit c7054ae

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5317,10 +5317,6 @@ ConstString SwiftASTContext::GetTypeName(opaque_compiler_type_t type) {
53175317
swift::dyn_cast<swift::SyntaxSugarType>(type.getPointer())) {
53185318
return syntax_sugar_type->getSinglyDesugaredType();
53195319
}
5320-
if (swift::DictionaryType *dictionary_type =
5321-
swift::dyn_cast<swift::DictionaryType>(type.getPointer())) {
5322-
return dictionary_type->getSinglyDesugaredType();
5323-
}
53245320
return type;
53255321
});
53265322

0 commit comments

Comments
 (0)