| 742 | namespace { |
| 743 | |
| 744 | void AccumulateLayouts(const std::shared_ptr<DataType>& type, |
| 745 | std::vector<DataTypeLayout>* layouts) { |
| 746 | layouts->push_back(type->layout()); |
| 747 | for (const auto& child : type->fields()) { |
| 748 | AccumulateLayouts(child->type(), layouts); |
| 749 | } |
| 750 | } |
| 751 | |
| 752 | void AccumulateArrayData(const std::shared_ptr<ArrayData>& data, |
| 753 | std::vector<std::shared_ptr<ArrayData>>* out) { |
no test coverage detected