@@ -143,7 +143,7 @@ struct BridgedNominalTypeDecl {
143
143
struct BridgedVarDecl {
144
144
const swift::VarDecl * _Nonnull decl;
145
145
146
- BRIDGED_INLINE BridgedStringRef getUserFacingName () const ;
146
+ SWIFT_IMPORT_UNSAFE BRIDGED_INLINE BridgedStringRef getUserFacingName () const ;
147
147
};
148
148
149
149
struct OptionalBridgedVarDecl {
@@ -464,7 +464,7 @@ struct BridgedLocation {
464
464
BRIDGED_INLINE bool hasValidLineNumber () const ;
465
465
BRIDGED_INLINE bool isAutoGenerated () const ;
466
466
BRIDGED_INLINE bool isEqualTo (BridgedLocation rhs) const ;
467
- BRIDGED_INLINE BridgedSourceLoc getSourceLocation () const ;
467
+ SWIFT_IMPORT_UNSAFE BRIDGED_INLINE BridgedSourceLoc getSourceLocation () const ;
468
468
BRIDGED_INLINE bool hasSameSourceLocation (BridgedLocation rhs) const ;
469
469
static BRIDGED_INLINE BridgedLocation getArtificialUnreachableLocation ();
470
470
};
@@ -651,15 +651,20 @@ struct BridgedInstruction {
651
651
// VarDeclInst and DebugVariableInst
652
652
// =========================================================================//
653
653
654
- BRIDGED_INLINE OptionalBridgedVarDecl DebugValue_getDecl () const ;
654
+ SWIFT_IMPORT_UNSAFE BRIDGED_INLINE OptionalBridgedVarDecl
655
+ DebugValue_getDecl () const ;
655
656
656
- BRIDGED_INLINE OptionalBridgedVarDecl AllocStack_getDecl () const ;
657
+ SWIFT_IMPORT_UNSAFE BRIDGED_INLINE OptionalBridgedVarDecl
658
+ AllocStack_getDecl () const ;
657
659
658
- BRIDGED_INLINE OptionalBridgedVarDecl AllocBox_getDecl () const ;
660
+ SWIFT_IMPORT_UNSAFE BRIDGED_INLINE OptionalBridgedVarDecl
661
+ AllocBox_getDecl () const ;
659
662
660
- BRIDGED_INLINE OptionalBridgedVarDecl GlobalAddr_getDecl () const ;
663
+ SWIFT_IMPORT_UNSAFE BRIDGED_INLINE OptionalBridgedVarDecl
664
+ GlobalAddr_getDecl () const ;
661
665
662
- BRIDGED_INLINE OptionalBridgedVarDecl RefElementAddr_getDecl () const ;
666
+ SWIFT_IMPORT_UNSAFE BRIDGED_INLINE OptionalBridgedVarDecl
667
+ RefElementAddr_getDecl () const ;
663
668
664
669
BRIDGED_INLINE OptionalBridgedSILDebugVariable DebugValue_getVarInfo () const ;
665
670
0 commit comments