Skip to content

Commit 9ee34df

Browse files
committed
[cxx-interop][SwiftCompilerSources] Remove redundant SWIFT_IMPORT_UNSAFE
`OptionalInt` is not an unsafe type in Swift, so the attribute has no effect.
1 parent 0efa7f9 commit 9ee34df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/SIL/SILBridging.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ struct BridgedInstruction {
940940
SWIFT_IMPORT_UNSAFE BRIDGED_INLINE BridgedGlobalVar GlobalAccessInst_getGlobal() const;
941941
SWIFT_IMPORT_UNSAFE BRIDGED_INLINE BridgedGlobalVar AllocGlobalInst_getGlobal() const;
942942
SWIFT_IMPORT_UNSAFE BRIDGED_INLINE BridgedFunction FunctionRefBaseInst_getReferencedFunction() const;
943-
SWIFT_IMPORT_UNSAFE BRIDGED_INLINE OptionalInt IntegerLiteralInst_getValue() const;
943+
BRIDGED_INLINE OptionalInt IntegerLiteralInst_getValue() const;
944944
SWIFT_IMPORT_UNSAFE BRIDGED_INLINE BridgedStringRef StringLiteralInst_getValue() const;
945945
BRIDGED_INLINE int StringLiteralInst_getEncoding() const;
946946
BRIDGED_INLINE SwiftInt TupleExtractInst_fieldIndex() const;

0 commit comments

Comments
 (0)