|
3 | 3 | // CHECK: enum TemplatesNS1 {
|
4 | 4 | // CHECK-NEXT: enum TemplatesNS2 {
|
5 | 5 | // CHECK-NEXT: static func forwardDeclaredFunctionTemplate<T>(_: T) -> UnsafePointer<CChar>!
|
6 |
| -// CHECK-NEXT: struct __CxxTemplateInstN12TemplatesNS112TemplatesNS228ForwardDeclaredClassTemplateIcEE { |
| 6 | +// CHECK-NEXT: struct ForwardDeclaredClassTemplate<Int8> { |
7 | 7 | // CHECK-NEXT: init()
|
8 | 8 | // CHECK-NEXT: mutating func basicMember() -> UnsafePointer<CChar>!
|
9 | 9 | // CHECK-NEXT: }
|
10 | 10 | // CHECK-NEXT: @available(*, unavailable, message: "Un-specialized class templates are not currently supported. Please use a specialization of this type.")
|
11 | 11 | // CHECK-NEXT: struct ForwardDeclaredClassTemplate<> {
|
12 | 12 | // CHECK-NEXT: }
|
13 | 13 | // CHECK-NEXT: static func forwardDeclaredFunctionTemplateOutOfLine<T>(_: T) -> UnsafePointer<CChar>!
|
14 |
| -// CHECK-NEXT: struct __CxxTemplateInstN12TemplatesNS112TemplatesNS237ForwardDeclaredClassTemplateOutOfLineIcEE { |
| 14 | +// CHECK-NEXT: struct ForwardDeclaredClassTemplateOutOfLine<Int8> { |
15 | 15 | // CHECK-NEXT: init()
|
16 | 16 | // CHECK-NEXT: mutating func basicMember() -> UnsafePointer<CChar>!
|
17 | 17 | // CHECK-NEXT: }
|
18 | 18 | // CHECK-NEXT: @available(*, unavailable, message: "Un-specialized class templates are not currently supported. Please use a specialization of this type.")
|
19 | 19 | // CHECK-NEXT: struct ForwardDeclaredClassTemplateOutOfLine<> {
|
20 | 20 | // CHECK-NEXT: }
|
21 |
| -// CHECK-NEXT: typealias BasicClassTemplateChar = TemplatesNS1.TemplatesNS3.__CxxTemplateInstN12TemplatesNS112TemplatesNS318BasicClassTemplateIcEE |
| 21 | +// CHECK-NEXT: typealias BasicClassTemplateChar = TemplatesNS1.TemplatesNS3.BasicClassTemplate<Int8> |
22 | 22 | // CHECK-NEXT: static func takesClassTemplateFromSibling(_: TemplatesNS1.TemplatesNS2.BasicClassTemplateChar) -> UnsafePointer<CChar>!
|
23 | 23 | // CHECK-NEXT: }
|
24 | 24 | // CHECK-NEXT: static func basicFunctionTemplate<T>(_: T) -> UnsafePointer<CChar>!
|
25 |
| -// CHECK-NEXT: struct __CxxTemplateInstN12TemplatesNS118BasicClassTemplateIcEE { |
| 25 | +// CHECK-NEXT: struct BasicClassTemplate<Int8> { |
26 | 26 | // CHECK-NEXT: init()
|
27 | 27 | // CHECK-NEXT: mutating func basicMember() -> UnsafePointer<CChar>!
|
28 | 28 | // CHECK-NEXT: }
|
29 | 29 | // CHECK-NEXT: @available(*, unavailable, message: "Un-specialized class templates are not currently supported. Please use a specialization of this type.")
|
30 | 30 | // CHECK-NEXT: struct BasicClassTemplate<> {
|
31 | 31 | // CHECK-NEXT: }
|
32 |
| -// CHECK-NEXT: typealias BasicClassTemplateChar = TemplatesNS1.__CxxTemplateInstN12TemplatesNS118BasicClassTemplateIcEE |
| 32 | +// CHECK-NEXT: typealias BasicClassTemplateChar = TemplatesNS1.BasicClassTemplate<Int8> |
33 | 33 | // CHECK-NEXT: static func basicFunctionTemplateDefinedInDefs<T>(_: T) -> UnsafePointer<CChar>!
|
34 | 34 | // CHECK-NEXT: @available(*, unavailable, message: "Un-specialized class templates are not currently supported. Please use a specialization of this type.")
|
35 | 35 | // CHECK-NEXT: struct BasicClassTemplateDefinedInDefs<> {
|
36 | 36 | // CHECK-NEXT: }
|
37 |
| -// CHECK-NEXT: typealias UseTemplate = TemplatesNS4.__CxxTemplateInstN12TemplatesNS417HasSpecializationIcEE |
38 |
| -// CHECK-NEXT: typealias UseSpecialized = TemplatesNS4.__CxxTemplateInstN12TemplatesNS417HasSpecializationIiEE |
| 37 | +// CHECK-NEXT: typealias UseTemplate = TemplatesNS4.HasSpecialization<Int8> |
| 38 | +// CHECK-NEXT: typealias UseSpecialized = TemplatesNS4.HasSpecialization<Int32> |
39 | 39 | // CHECK-NEXT: enum TemplatesNS3 {
|
40 |
| -// CHECK-NEXT: struct __CxxTemplateInstN12TemplatesNS112TemplatesNS318BasicClassTemplateIcEE { |
| 40 | +// CHECK-NEXT: struct BasicClassTemplate<Int8> { |
41 | 41 | // CHECK-NEXT: init()
|
42 | 42 | // CHECK-NEXT: }
|
43 | 43 | // CHECK-NEXT: @available(*, unavailable, message: "Un-specialized class templates are not currently supported. Please use a specialization of this type.")
|
44 | 44 | // CHECK-NEXT: struct BasicClassTemplate<> {
|
45 | 45 | // CHECK-NEXT: }
|
46 | 46 | // CHECK-NEXT: }
|
47 |
| -// CHECK-NEXT: struct __CxxTemplateInstN12TemplatesNS112TemplatesNS228ForwardDeclaredClassTemplateIcEE { |
| 47 | +// CHECK-NEXT: struct ForwardDeclaredClassTemplate<Int8> { |
48 | 48 | // CHECK-NEXT: init()
|
49 | 49 | // CHECK-NEXT: mutating func basicMember() -> UnsafePointer<CChar>!
|
50 | 50 | // CHECK-NEXT: }
|
51 |
| -// CHECK-NEXT: typealias ForwardDeclaredClassTemplateChar = TemplatesNS1.TemplatesNS2.__CxxTemplateInstN12TemplatesNS112TemplatesNS228ForwardDeclaredClassTemplateIcEE |
| 51 | +// CHECK-NEXT: typealias ForwardDeclaredClassTemplateChar = TemplatesNS1.TemplatesNS2.ForwardDeclaredClassTemplate<Int8> |
52 | 52 | // CHECK-NEXT: }
|
53 |
| -// CHECK-NEXT: typealias ForwardDeclaredClassTemplateOutOfLineChar = TemplatesNS1.TemplatesNS2.__CxxTemplateInstN12TemplatesNS112TemplatesNS237ForwardDeclaredClassTemplateOutOfLineIcEE |
| 53 | +// CHECK-NEXT: typealias ForwardDeclaredClassTemplateOutOfLineChar = TemplatesNS1.TemplatesNS2.ForwardDeclaredClassTemplateOutOfLine<Int8> |
54 | 54 | // CHECK-NEXT: enum TemplatesNS4 {
|
55 |
| -// CHECK-NEXT: struct __CxxTemplateInstN12TemplatesNS417HasSpecializationIcEE { |
| 55 | +// CHECK-NEXT: struct HasSpecialization<Int8> { |
56 | 56 | // CHECK-NEXT: init()
|
57 | 57 | // CHECK-NEXT: }
|
58 |
| -// CHECK-NEXT: struct __CxxTemplateInstN12TemplatesNS417HasSpecializationIiEE { |
| 58 | +// CHECK-NEXT: struct HasSpecialization<Int32> { |
59 | 59 | // CHECK-NEXT: init()
|
60 | 60 | // CHECK-NEXT: }
|
61 | 61 | // CHECK-NEXT: @available(*, unavailable, message: "Un-specialized class templates are not currently supported. Please use a specialization of this type.")
|
|
0 commit comments