Skip to content

Commit d830a31

Browse files
authored
Merge pull request #1731 from kastiglione/dl/SwiftASTContext-Remove-redundant-type-check-in-GetTypeName
SwiftASTContext: Remove redundant type check in GetTypeName
2 parents 3c06146 + c7054ae commit d830a31

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
@@ -5315,10 +5315,6 @@ ConstString SwiftASTContext::GetTypeName(opaque_compiler_type_t type) {
53155315
swift::dyn_cast<swift::SyntaxSugarType>(type.getPointer())) {
53165316
return syntax_sugar_type->getSinglyDesugaredType();
53175317
}
5318-
if (swift::DictionaryType *dictionary_type =
5319-
swift::dyn_cast<swift::DictionaryType>(type.getPointer())) {
5320-
return dictionary_type->getSinglyDesugaredType();
5321-
}
53225318
return type;
53235319
});
53245320

0 commit comments

Comments
 (0)