| 44 | } |
| 45 | |
| 46 | static void AddNewOpToHistory(const OpDef& op, |
| 47 | OpCompatibilityLib::OpHistory* out_op_history) { |
| 48 | if (out_op_history != nullptr) { |
| 49 | out_op_history->emplace_back(FileNameFromOpName(op.name()), OpList()); |
| 50 | *out_op_history->back().second.add_op() = op; |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | static Status ReadOpHistory(Env* env, const string& file, |
| 55 | const string& directory, |
no test coverage detected