Lines Matching defs:cmd_obj_sp
82 const CommandObjectSP &cmd_obj_sp) {
83 if (cmd_obj_sp)
84 lldbassert((&GetCommandInterpreter() == &cmd_obj_sp->GetCommandInterpreter()) &&
87 return m_subcommand_dict.try_emplace(std::string(name), cmd_obj_sp).second;
91 llvm::StringRef name, const CommandObjectSP &cmd_obj_sp, bool can_replace) {
93 if (cmd_obj_sp)
94 lldbassert((&GetCommandInterpreter() == &cmd_obj_sp->GetCommandInterpreter()) &&
101 cmd_obj_sp->SetIsUserCommand(true);
105 auto [pos, inserted] = m_subcommand_dict.try_emplace(str_name, cmd_obj_sp);
118 pos->second = cmd_obj_sp;