mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Rename @asmname to @_silgen_name.
This reflects the fact that the attribute's only for compiler-internal use, and isn't really equivalent to C's asm attribute, since it doesn't change the calling convention to be C-compatible.
This commit is contained in:
@@ -31,7 +31,7 @@ class D : C {
|
||||
|
||||
}
|
||||
|
||||
@asmname("TestSwiftObjectNSObject")
|
||||
@_silgen_name("TestSwiftObjectNSObject")
|
||||
func TestSwiftObjectNSObject(c: C, _ d: D)
|
||||
|
||||
TestSwiftObjectNSObject(C(), D())
|
||||
|
||||
Reference in New Issue
Block a user