| 244 | } |
| 245 | |
| 246 | void AddMacroCall(int64_t macro_id, absl::string_view function, |
| 247 | absl::optional<Expr> target, std::vector<Expr> arguments) { |
| 248 | macro_calls_.insert( |
| 249 | {macro_id, target.has_value() |
| 250 | ? NewMemberCall(0, function, std::move(*target), |
| 251 | std::move(arguments)) |
| 252 | : NewCall(0, function, std::move(arguments))}); |
| 253 | } |
| 254 | |
| 255 | Expr BuildMacroCallArg(const Expr& expr) { |
| 256 | if (auto it = macro_calls_.find(expr.id()); it != macro_calls_.end()) { |
no test coverage detected