| 538 | } |
| 539 | |
| 540 | cmState::Command cmState::GetCommandByExactName(std::string const& name) const |
| 541 | { |
| 542 | auto pos = this->ScriptedCommands.find(name); |
| 543 | if (pos != this->ScriptedCommands.end()) { |
| 544 | return pos->second; |
| 545 | } |
| 546 | pos = this->BuiltinCommands.find(name); |
| 547 | if (pos != this->BuiltinCommands.end()) { |
| 548 | return pos->second; |
| 549 | } |
| 550 | return nullptr; |
| 551 | } |
| 552 | |
| 553 | std::vector<std::string> cmState::GetCommandNames() const |
| 554 | { |
no test coverage detected