@@ -143,7 +143,7 @@ struct BridgedNominalTypeDecl {
143143struct BridgedVarDecl {
144144 const swift::VarDecl * _Nonnull decl;
145145
146- BRIDGED_INLINE BridgedStringRef getUserFacingName () const ;
146+ SWIFT_IMPORT_UNSAFE BRIDGED_INLINE BridgedStringRef getUserFacingName () const ;
147147};
148148
149149struct OptionalBridgedVarDecl {
@@ -464,7 +464,7 @@ struct BridgedLocation {
464464 BRIDGED_INLINE bool hasValidLineNumber () const ;
465465 BRIDGED_INLINE bool isAutoGenerated () const ;
466466 BRIDGED_INLINE bool isEqualTo (BridgedLocation rhs) const ;
467- BRIDGED_INLINE BridgedSourceLoc getSourceLocation () const ;
467+ SWIFT_IMPORT_UNSAFE BRIDGED_INLINE BridgedSourceLoc getSourceLocation () const ;
468468 BRIDGED_INLINE bool hasSameSourceLocation (BridgedLocation rhs) const ;
469469 static BRIDGED_INLINE BridgedLocation getArtificialUnreachableLocation ();
470470};
@@ -651,15 +651,20 @@ struct BridgedInstruction {
651651 // VarDeclInst and DebugVariableInst
652652 // =========================================================================//
653653
654- BRIDGED_INLINE OptionalBridgedVarDecl DebugValue_getDecl () const ;
654+ SWIFT_IMPORT_UNSAFE BRIDGED_INLINE OptionalBridgedVarDecl
655+ DebugValue_getDecl () const ;
655656
656- BRIDGED_INLINE OptionalBridgedVarDecl AllocStack_getDecl () const ;
657+ SWIFT_IMPORT_UNSAFE BRIDGED_INLINE OptionalBridgedVarDecl
658+ AllocStack_getDecl () const ;
657659
658- BRIDGED_INLINE OptionalBridgedVarDecl AllocBox_getDecl () const ;
660+ SWIFT_IMPORT_UNSAFE BRIDGED_INLINE OptionalBridgedVarDecl
661+ AllocBox_getDecl () const ;
659662
660- BRIDGED_INLINE OptionalBridgedVarDecl GlobalAddr_getDecl () const ;
663+ SWIFT_IMPORT_UNSAFE BRIDGED_INLINE OptionalBridgedVarDecl
664+ GlobalAddr_getDecl () const ;
661665
662- BRIDGED_INLINE OptionalBridgedVarDecl RefElementAddr_getDecl () const ;
666+ SWIFT_IMPORT_UNSAFE BRIDGED_INLINE OptionalBridgedVarDecl
667+ RefElementAddr_getDecl () const ;
663668
664669 BRIDGED_INLINE OptionalBridgedSILDebugVariable DebugValue_getVarInfo () const ;
665670
0 commit comments