Skip to content

Commit 3b540dd

Browse files
committed
[cxx-interop][SwiftCompilerSources] Remove SWIFT_IMPORT_UNSAFE on constructors
These attributes have no effect on C++ constructors.
1 parent 9aee3cc commit 3b540dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/SIL/SILBridging.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,8 +634,8 @@ struct BridgedFunction {
634634
};
635635

636636
SWIFT_NAME("init(obj:)")
637-
SWIFT_IMPORT_UNSAFE BridgedFunction(SwiftObject obj) : obj(obj) {}
638-
SWIFT_IMPORT_UNSAFE BridgedFunction() {}
637+
BridgedFunction(SwiftObject obj) : obj(obj) {}
638+
BridgedFunction() {}
639639
SWIFT_IMPORT_UNSAFE BRIDGED_INLINE swift::SILFunction * _Nonnull getFunction() const;
640640
SWIFT_IMPORT_UNSAFE BRIDGED_INLINE BridgedStringRef getName() const;
641641
BridgedOwnedString getDebugDescription() const;

0 commit comments

Comments
 (0)