mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #61342 from apple/eng/fwd-decl-no-bridge
[interop][SwiftToCxx] forward declare - do not use bridged types in C…
This commit is contained in:
@@ -374,7 +374,8 @@ public:
|
||||
return;
|
||||
|
||||
// Bridge, if necessary.
|
||||
TD = printer.getObjCTypeDecl(TD);
|
||||
if (outputLangMode != OutputLanguageMode::Cxx)
|
||||
TD = printer.getObjCTypeDecl(TD);
|
||||
|
||||
if (finder.needsDefinition() && isa<NominalTypeDecl>(TD)) {
|
||||
// We can delay individual members of classes; do so if necessary.
|
||||
|
||||
Reference in New Issue
Block a user