| 524 | } |
| 525 | |
| 526 | static const EnumDecl* findEnum(const File& file, std::string_view name) { |
| 527 | for (const auto& decl : file.enums) if (decl.name == name) return &decl; |
| 528 | return nullptr; |
| 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; |
nothing calls this directly
no outgoing calls
no test coverage detected