Hong Shin
b837d17d2c
Update to shortened headers in upb_generator
...
PiperOrigin-RevId: 580281151
1 year ago
Joshua Haberman
cf3a6f5868
Enabled editions support for upb generated code.
...
This required enabling the feature in the code generator and fixing a few edge cases around label and type.
Also added tests to verify the special cases, and to verify that required fields work as expected.
PiperOrigin-RevId: 580263087
1 year ago
Eric Salo
9a610f02f8
upb: delete unused function in the C code generator
...
PiperOrigin-RevId: 578873644
1 year ago
Jakob Buchgraber
ebdd7e3eb6
Add private accessors for maps to be used by Rust's Map implementation.
...
PiperOrigin-RevId: 577749942
1 year ago
Eric Salo
c20b337221
upb: remove redundant #includes from the foo.upbdefs.h gencode
...
PiperOrigin-RevId: 576883852
1 year ago
Eric Salo
a286c9b56d
upb: create upb/reflection/BUILD
...
PiperOrigin-RevId: 576631037
1 year ago
Eric Salo
90a7de5063
upb: use upb_c_proto_library() instead of upb_proto_library()
...
PiperOrigin-RevId: 574674453
1 year ago
Eric Salo
f0392ecc42
upb: s/std::endl/'\n' in upb_generator
...
PiperOrigin-RevId: 572511446
1 year ago
Eric Salo
c38ba8d8be
upb: unroll a loop in upb_generator that only needs to iterate once
...
PiperOrigin-RevId: 572332570
1 year ago
Eric Salo
745eff7951
upb: fix staleness tests
...
PiperOrigin-RevId: 572051108
1 year ago
Eric Salo
5b6543edb5
upb: first attempt at implementing name mangling for minitable symbols
...
PiperOrigin-RevId: 571636273
1 year ago
Protobuf Team Bot
e912bc2e3a
Internal change
...
PiperOrigin-RevId: 570208557
1 year ago
Adam Cozzette
12c7bb0750
Rename `upbc` to `upb_generator`
...
This makes the file layout a bit more consistent with the `protos ->
protos_generator` pattern. I also replaced the `upbc` namespace with
`upb::generator`.
PiperOrigin-RevId: 569264372
1 year ago