Commit cbc4f45
Align generated code with new RepeatedPtrField paradigm.
All changes to generated code are protected by `PROTOBUF_INTERNAL_REMOVE_ARENA_PTRS_REPEATED_PTR_FIELD`.
With this change, code will now compile with `PROTOBUF_INTERNAL_REMOVE_ARENA_PTRS_REPEATED_PTR_FIELD` enabled.
This change is a no-op and does not enable the change. All generated code is annotated with both the current behavior and the new behavior, and defining PROTOBUF_INTERNAL_REMOVE_ARENA_PTRS will turn the feature on (with no change to codegen needed).
PiperOrigin-RevId: 8078623121 parent a739f21 commit cbc4f45
File tree
28 files changed
+2504
-390
lines changed- src/google/protobuf
- compiler
- cpp
- field_generators
- java
28 files changed
+2504
-390
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
453 | 462 | | |
454 | 463 | | |
455 | 464 | | |
| |||
559 | 568 | | |
560 | 569 | | |
561 | 570 | | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
562 | 574 | | |
| 575 | + | |
563 | 576 | | |
564 | 577 | | |
565 | 578 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
493 | 493 | | |
494 | 494 | | |
495 | 495 | | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
496 | 500 | | |
| 501 | + | |
497 | 502 | | |
498 | 503 | | |
499 | 504 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
45 | 56 | | |
46 | 57 | | |
47 | 58 | | |
| |||
156 | 167 | | |
157 | 168 | | |
158 | 169 | | |
159 | | - | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
160 | 183 | | |
161 | 184 | | |
162 | 185 | | |
| |||
170 | 193 | | |
171 | 194 | | |
172 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
173 | 206 | | |
174 | 207 | | |
175 | 208 | | |
| |||
182 | 215 | | |
183 | 216 | | |
184 | 217 | | |
185 | | - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
186 | 231 | | |
187 | 232 | | |
188 | 233 | | |
| |||
Lines changed: 36 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
740 | 740 | | |
741 | 741 | | |
742 | 742 | | |
| 743 | + | |
| 744 | + | |
743 | 745 | | |
744 | 746 | | |
745 | 747 | | |
| |||
748 | 750 | | |
749 | 751 | | |
750 | 752 | | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
751 | 756 | | |
| 757 | + | |
752 | 758 | | |
753 | 759 | | |
754 | 760 | | |
| |||
831 | 837 | | |
832 | 838 | | |
833 | 839 | | |
834 | | - | |
| 840 | + | |
| 841 | + | |
835 | 842 | | |
836 | 843 | | |
837 | 844 | | |
| |||
854 | 861 | | |
855 | 862 | | |
856 | 863 | | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
857 | 867 | | |
| 868 | + | |
858 | 869 | | |
859 | 870 | | |
860 | 871 | | |
861 | 872 | | |
862 | 873 | | |
863 | 874 | | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
864 | 880 | | |
865 | 881 | | |
| 882 | + | |
866 | 883 | | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
867 | 887 | | |
| 888 | + | |
868 | 889 | | |
869 | 890 | | |
870 | 891 | | |
| |||
908 | 929 | | |
909 | 930 | | |
910 | 931 | | |
911 | | - | |
| 932 | + | |
| 933 | + | |
912 | 934 | | |
913 | 935 | | |
914 | 936 | | |
| |||
940 | 962 | | |
941 | 963 | | |
942 | 964 | | |
943 | | - | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
944 | 968 | | |
945 | 969 | | |
946 | 970 | | |
| |||
1047 | 1071 | | |
1048 | 1072 | | |
1049 | 1073 | | |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
1050 | 1083 | | |
1051 | 1084 | | |
1052 | 1085 | | |
| |||
Lines changed: 20 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
753 | 753 | | |
754 | 754 | | |
755 | 755 | | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
756 | 764 | | |
757 | 765 | | |
758 | 766 | | |
759 | 767 | | |
760 | 768 | | |
761 | | - | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
762 | 772 | | |
763 | 773 | | |
764 | 774 | | |
| |||
793 | 803 | | |
794 | 804 | | |
795 | 805 | | |
796 | | - | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
797 | 809 | | |
798 | 810 | | |
799 | 811 | | |
| |||
869 | 881 | | |
870 | 882 | | |
871 | 883 | | |
872 | | - | |
| 884 | + | |
| 885 | + | |
873 | 886 | | |
874 | 887 | | |
875 | 888 | | |
| |||
907 | 920 | | |
908 | 921 | | |
909 | 922 | | |
910 | | - | |
911 | | - | |
912 | | - | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
913 | 927 | | |
914 | 928 | | |
915 | 929 | | |
| |||
Lines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
633 | 641 | | |
634 | 642 | | |
635 | 643 | | |
636 | 644 | | |
637 | 645 | | |
638 | | - | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
639 | 649 | | |
640 | 650 | | |
641 | 651 | | |
| |||
670 | 680 | | |
671 | 681 | | |
672 | 682 | | |
673 | | - | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
674 | 686 | | |
675 | 687 | | |
676 | 688 | | |
| |||
757 | 769 | | |
758 | 770 | | |
759 | 771 | | |
760 | | - | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
761 | 775 | | |
762 | 776 | | |
763 | 777 | | |
| |||
0 commit comments