| 2542 | } |
| 2543 | |
| 2544 | cm::optional<std::string> cmMakefile::DeferGetCallIds() const |
| 2545 | { |
| 2546 | cm::optional<std::string> ids; |
| 2547 | if (this->Defer) { |
| 2548 | ids = cmList::to_string( |
| 2549 | cmMakeRange(this->Defer->Commands) |
| 2550 | .filter([](DeferCommand const& dc) -> bool { return !dc.Id.empty(); }) |
| 2551 | .transform( |
| 2552 | [](DeferCommand const& dc) -> std::string const& { return dc.Id; })); |
| 2553 | } |
| 2554 | return ids; |
| 2555 | } |
| 2556 | |
| 2557 | cm::optional<std::string> cmMakefile::DeferGetCall(std::string const& id) const |
| 2558 | { |
no test coverage detected