commit | be1b751a77e9af16e02025649ad1a703258d244f | [log] [tgz] |
---|---|---|
author | Matthias Guenther <mrguenther@google.com> | Fri Jun 10 12:46:44 2022 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 21 20:49:01 2022 +0000 |
tree | 2c3b535181b19767886e2dd8de073aed78752003 | |
parent | b030b954fa0c6b013ca066e48c0e6269112bb8c6 [diff] |
pw_protobuf: Fix names that collide with internals Protobuf-to-C++ code generation creates nested types named `Message` and `Fields` inside of structs generated from protobuf messages, so we need to fix proto identifiers that conflict with them. We could do this only in nested contexts, but this change applies the change consistently to keep both the implementation and the spec relatively simple. Bug: b/234855743 Change-Id: I821770d1888404ceef91baef54cd509386b36a6d Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/97745 Reviewed-by: Ted Pudlik <tpudlik@google.com> Commit-Queue: Matthias Guenther <mrguenther@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.