Sema: Replace some calls to getDeclaredType() with getDeclaredInterfaceType()

This commit is contained in:
Slava Pestov
2020-07-31 13:10:49 -04:00
parent 94c6bff65d
commit 45fc0bc4db
22 changed files with 117 additions and 99 deletions

View File

@@ -91,7 +91,7 @@ deriveBridgedNSError_enum_nsErrorDomain(
// }
// }
auto stringTy = derived.Context.getStringDecl()->getDeclaredType();
auto stringTy = derived.Context.getStringDecl()->getDeclaredInterfaceType();
// Define the property.
VarDecl *propDecl;