Commit e765577
Remove move-only adapter support
Summary:
`cpp.Adapter.moveOnly` no longer affects C++ code generation, and every production use was attached to a copyable adapted type. Remove the annotation field, stale annotations, move-only fixtures, and regenerate affected fixture outputs.
Field ID 5 remains unreserved so existing serialized annotation payloads continue to decode without unknown-field enforcement. Keep the existing arithmetic `serializedSizeFixed` adapter-size support unchanged.
The Configerator-owned Metarmor source change is D116658723 and must land first.
Reviewed By: hchokshi
Differential Revision: D116659189
fbshipit-source-id: 93fe5691c8c85f9ab30f1e68d840cac3d15e64331 parent 5091afc commit e765577
155 files changed
Lines changed: 1231 additions & 11105 deletions
File tree
- third-party/thrift/src/thrift
- annotation
- compiler/test/fixtures
- adapter
- out
- android/gen-android
- com/facebook/thrift/annotation/cpp_deprecated
- test/fixtures/adapter
- cpp2/gen-cpp2
- go/gen-go
- hack/gen-hack
- java_deprecated/gen-javadeprecated
- com/facebook/thrift/annotation/cpp_deprecated
- test/fixtures/adapter
- java/gen-java/test/fixtures/adapter
- json/gen-json
- py3/gen-py3
- cpp
- module
- pyi/gen-py
- module
- thrift/annotation/cpp
- python_capi/gen-python-capi/module
- py/gen-py
- module
- thrift/annotation/cpp
- rust/gen-rust
- src
- basic-annotations/out
- android/gen-android/com/facebook/thrift/annotation/cpp_deprecated
- hack/gen-hack
- java_deprecated/gen-javadeprecated/com/facebook/thrift/annotation/cpp_deprecated
- json/gen-json
- py3/gen-py3/cpp
- py/gen-py/thrift/annotation/cpp
- rust/gen-rust
- basic-stack-arguments/out/py3/gen-py3/cpp
- basic-structured-annotations/out
- hack/gen-hack
- json/gen-json
- complex-union/out
- android/gen-android/com/facebook/thrift/annotation/cpp_deprecated
- hack/gen-hack
- java_deprecated/gen-javadeprecated/com/facebook/thrift/annotation/cpp_deprecated
- py3/gen-py3/cpp
- hack_service/out/hack_module2_with_patch/gen-hack
- interactions/out
- hack/gen-hack
- py3_inplace/gen-py3/cpp
- py3/gen-py3/cpp
- pyi/gen-py/thrift/annotation/cpp
- py/gen-py/thrift/annotation/cpp
- mcpp2-compare/out/py3/gen-py3/cpp
- py3/out
- py3_inplace/gen-py3/cpp
- py3_legacy_container_converters/gen-py3/cpp
- py3/gen-py3/cpp
- refs/out
- android/gen-android/com/facebook/thrift/annotation/cpp_deprecated
- java_deprecated/gen-javadeprecated/com/facebook/thrift/annotation/cpp_deprecated
- py3/gen-py3/cpp
- rust/gen-rust
- sink/out
- hack/gen-hack
- json_experimental/gen-json_experimental
- py3/gen-py3/cpp
- pyi/gen-py/thrift/annotation/cpp
- py/gen-py/thrift/annotation/cpp
- stream/out
- hack_server_stream/gen-hack
- hack/gen-hack
- json_experimental/gen-json_experimental
- py3_inplace/gen-py3/cpp
- py3/gen-py3/cpp
- pyi/gen-py/thrift/annotation/cpp
- py/gen-py/thrift/annotation/cpp
- templated-deserialize/out/py3/gen-py3/cpp
- terse_write/out
- android/gen-android/com/facebook/thrift/annotation/cpp_deprecated
- csharp/gen-csharp
- hack/gen-hack
- java_deprecated/gen-javadeprecated/com/facebook/thrift/annotation/cpp_deprecated
- json_experimental/gen-json_experimental
- json/gen-json
- py3/gen-py3/cpp
- py/gen-py/thrift/annotation/cpp
- rust/gen-rust
- swift/gen-swift
- types/out
- hack_legacy_default_values/gen-hack
- hack/gen-hack
- py3_inplace/gen-py3/cpp
- py3/gen-py3/cpp
- py/gen-py/thrift/annotation/cpp
- rust/gen-rust
- doc/features
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | 179 | | |
183 | 180 | | |
184 | 181 | | |
| |||
Lines changed: 2 additions & 43 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| |||
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | 94 | | |
100 | 95 | | |
101 | 96 | | |
102 | 97 | | |
103 | | - | |
104 | 98 | | |
105 | 99 | | |
106 | 100 | | |
107 | 101 | | |
108 | 102 | | |
109 | | - | |
110 | | - | |
| 103 | + | |
111 | 104 | | |
112 | 105 | | |
113 | 106 | | |
114 | 107 | | |
115 | | - | |
116 | 108 | | |
117 | 109 | | |
118 | 110 | | |
| |||
139 | 131 | | |
140 | 132 | | |
141 | 133 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | 134 | | |
148 | 135 | | |
149 | 136 | | |
| |||
225 | 212 | | |
226 | 213 | | |
227 | 214 | | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | 215 | | |
241 | 216 | | |
242 | 217 | | |
| |||
255 | 230 | | |
256 | 231 | | |
257 | 232 | | |
258 | | - | |
259 | | - | |
260 | 233 | | |
261 | 234 | | |
262 | 235 | | |
263 | 236 | | |
264 | 237 | | |
265 | | - | |
| 238 | + | |
266 | 239 | | |
267 | 240 | | |
268 | 241 | | |
| |||
275 | 248 | | |
276 | 249 | | |
277 | 250 | | |
278 | | - | |
279 | 251 | | |
280 | 252 | | |
281 | 253 | | |
| |||
314 | 286 | | |
315 | 287 | | |
316 | 288 | | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | 289 | | |
325 | 290 | | |
326 | 291 | | |
| |||
335 | 300 | | |
336 | 301 | | |
337 | 302 | | |
338 | | - | |
339 | 303 | | |
340 | 304 | | |
341 | 305 | | |
| |||
365 | 329 | | |
366 | 330 | | |
367 | 331 | | |
368 | | - | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | 332 | | |
374 | 333 | | |
375 | 334 | | |
| |||
Lines changed: 66 additions & 66 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
611 | 611 | | |
612 | 612 | | |
613 | 613 | | |
614 | | - | |
615 | | - | |
616 | | - | |
617 | | - | |
618 | | - | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
619 | 619 | | |
620 | | - | |
621 | | - | |
622 | | - | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
633 | | - | |
634 | | - | |
635 | | - | |
636 | | - | |
637 | | - | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
638 | 638 | | |
639 | | - | |
640 | | - | |
641 | | - | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
| |||
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
656 | | - | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
657 | 657 | | |
658 | | - | |
659 | | - | |
660 | | - | |
661 | | - | |
662 | | - | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
| |||
726 | 726 | | |
727 | 727 | | |
728 | 728 | | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
734 | 734 | | |
735 | | - | |
736 | | - | |
737 | | - | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
738 | 738 | | |
739 | 739 | | |
740 | 740 | | |
| |||
745 | 745 | | |
746 | 746 | | |
747 | 747 | | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
753 | 753 | | |
754 | | - | |
755 | | - | |
756 | | - | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
757 | 757 | | |
758 | 758 | | |
759 | 759 | | |
| |||
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
767 | | - | |
768 | | - | |
769 | | - | |
770 | | - | |
771 | | - | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
772 | 772 | | |
773 | | - | |
774 | | - | |
775 | | - | |
776 | | - | |
777 | | - | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
778 | 778 | | |
779 | 779 | | |
780 | 780 | | |
| |||
869 | 869 | | |
870 | 870 | | |
871 | 871 | | |
872 | | - | |
873 | | - | |
| 872 | + | |
| 873 | + | |
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
| |||
880 | 880 | | |
881 | 881 | | |
882 | 882 | | |
883 | | - | |
884 | | - | |
| 883 | + | |
| 884 | + | |
885 | 885 | | |
886 | 886 | | |
887 | 887 | | |
| |||
891 | 891 | | |
892 | 892 | | |
893 | 893 | | |
894 | | - | |
895 | | - | |
896 | | - | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
897 | 897 | | |
898 | 898 | | |
899 | 899 | | |
| |||
943 | 943 | | |
944 | 944 | | |
945 | 945 | | |
946 | | - | |
947 | | - | |
| 946 | + | |
| 947 | + | |
948 | 948 | | |
949 | 949 | | |
950 | 950 | | |
| |||
954 | 954 | | |
955 | 955 | | |
956 | 956 | | |
957 | | - | |
958 | | - | |
| 957 | + | |
| 958 | + | |
959 | 959 | | |
960 | 960 | | |
961 | 961 | | |
| |||
965 | 965 | | |
966 | 966 | | |
967 | 967 | | |
968 | | - | |
969 | | - | |
970 | | - | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
971 | 971 | | |
972 | 972 | | |
973 | 973 | | |
| |||
0 commit comments