| 529 | } |
| 530 | |
| 531 | static const StructDecl* findStruct(const File& file, std::string_view name) { |
| 532 | for (const auto& decl : file.structs) if (decl.name == name) return &decl; |
| 533 | return nullptr; |
| 534 | } |
| 535 | |
| 536 | static const FrameField* framePayload(const FrameDecl& frame) { |
| 537 | for (const auto& field : frame.fields) if (field.payload) return &field; |
nothing calls this directly
no outgoing calls
no test coverage detected