Commit 6f3bb49
committed
[BitwiseCopyable] Verify only within module.
Don't verify lowering in modules built from swiftinterface (which may
not have been built with `-enable-experimental-feature BitwiseCopyable`)
Allow trivial types defined in other modules to lack conformance because
those modules may not have been built with the feature enabled.1 parent c13422d commit 6f3bb49
File tree
2 files changed
+26
-2
lines changed- lib/SIL/IR
- test/IRGen
2 files changed
+26
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3038 | 3038 | | |
3039 | 3039 | | |
3040 | 3040 | | |
| 3041 | + | |
| 3042 | + | |
| 3043 | + | |
| 3044 | + | |
| 3045 | + | |
| 3046 | + | |
| 3047 | + | |
| 3048 | + | |
| 3049 | + | |
3041 | 3050 | | |
3042 | 3051 | | |
3043 | 3052 | | |
| |||
3054 | 3063 | | |
3055 | 3064 | | |
3056 | 3065 | | |
| 3066 | + | |
3057 | 3067 | | |
3058 | 3068 | | |
3059 | 3069 | | |
| |||
3072 | 3082 | | |
3073 | 3083 | | |
3074 | 3084 | | |
3075 | | - | |
| 3085 | + | |
| 3086 | + | |
| 3087 | + | |
| 3088 | + | |
| 3089 | + | |
3076 | 3090 | | |
3077 | 3091 | | |
3078 | 3092 | | |
| |||
3128 | 3142 | | |
3129 | 3143 | | |
3130 | 3144 | | |
3131 | | - | |
| 3145 | + | |
| 3146 | + | |
| 3147 | + | |
| 3148 | + | |
| 3149 | + | |
3132 | 3150 | | |
3133 | 3151 | | |
3134 | 3152 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| 13 | + | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| |||
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
0 commit comments