mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The use of a synthesized C++ method allows us to avoid making a copy of self when accessing the base field or subscript from Swift
30 lines
373 B
Plaintext
30 lines
373 B
Plaintext
module Functions {
|
|
header "functions.h"
|
|
}
|
|
|
|
module Fields {
|
|
header "fields.h"
|
|
}
|
|
|
|
module Polymorphism {
|
|
header "polymorphism.h"
|
|
requires cplusplus
|
|
}
|
|
|
|
module SubTypes {
|
|
header "sub-types.h"
|
|
}
|
|
|
|
module Subscripts {
|
|
header "subscripts.h"
|
|
}
|
|
|
|
module TypeAliases {
|
|
header "type-aliases.h"
|
|
}
|
|
|
|
module VirtualMethods {
|
|
header "virtual-methods.h"
|
|
requires cplusplus
|
|
}
|