| 215 | } |
| 216 | |
| 217 | string SummarizeFunc(const NameAttrList& func) { |
| 218 | std::vector<string> entries; |
| 219 | for (auto p : func.attr()) { |
| 220 | entries.push_back( |
| 221 | strings::StrCat(p.first, "=", SummarizeAttrValue(p.second))); |
| 222 | } |
| 223 | std::sort(entries.begin(), entries.end()); |
| 224 | return strings::StrCat(func.name(), "[", absl::StrJoin(entries, ", "), "]"); |
| 225 | } |
| 226 | |
| 227 | } // namespace |
| 228 |
no test coverage detected