mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add case for UncheckedOptional in debug info generation.
Swift SVN r12132
This commit is contained in:
@@ -1397,6 +1397,7 @@ llvm::DIType IRGenDebugInfo::createType(DebugTypeInfo DbgTy,
|
||||
// SyntaxSugarType derivations.
|
||||
case TypeKind::ArraySlice:
|
||||
case TypeKind::Optional:
|
||||
case TypeKind::UncheckedOptional:
|
||||
{
|
||||
auto SyntaxSugarTy = cast<SyntaxSugarType>(BaseTy);
|
||||
auto CanTy = SyntaxSugarTy->getDesugaredType();
|
||||
|
||||
Reference in New Issue
Block a user