Automated Code Change

PiperOrigin-RevId: 936435913
This commit is contained in:
Protobuf Team Bot 2026-06-22 22:27:33 -07:00 committed by Copybara-Service
parent 9d9a069bc5
commit 6d0ef0e251

View file

@ -75,12 +75,12 @@ class Context final {
const Options& options() { return options_; }
io::Printer& printer() { return printer_; }
inline std::string GetLayoutIndex(const FieldDescriptor* field) {
std::string GetLayoutIndex(const FieldDescriptor* field) {
return absl::StrCat(
upb::generator::FindBaseFieldDef(pool_, field).layout_index());
}
inline int GetLayoutSize(const Descriptor* descriptor) {
int GetLayoutSize(const Descriptor* descriptor) {
return upb::generator::FindMessageDef(pool_, descriptor)
.mini_table()
->UPB_PRIVATE(size);
@ -92,7 +92,7 @@ class Context final {
Context& operator=(Context&&) = delete;
private:
inline void BuildDefPool(const FileDescriptor* file) {
void BuildDefPool(const FileDescriptor* file) {
upb::generator::AddFile(file, &pool_);
}