SIGN IN SIGN UP

Protocol Buffers - Google's data interchange format

0 0 35 C++

Small simplification in skipmap codegen.

When generating skipmaps, the parse function generator keeps track of a
"line_entries" variable that's mostly introduced to condense line wrapping in
some cases where the number of entries is small. This does make the generated
code a bit shorter but it's also keeping track of a lot of state that hinders
readability. It's been raised in a separate CL review that maybe all this
additional complexity is not worth it. We can deal with a few extra generated
lines in the codegen.

PiperOrigin-RevId: 720671921
T
Tony Liao committed
bba7557873312c873d3d32026a6d7dfef6249d43
Parent: 90e25c6
Committed by Copybara-Service <copybara-worker@google.com> on 1/28/2025, 8:39:36 PM