std::optional< llvm::StringRef > FindString(llvm::StringRef input_str) const
CommandHistory(const CommandHistory &)=delete
static const char g_repeat_char
~CommandHistory()=default
llvm::StringRef GetRecentmostString() const
std::vector< std::string > History
const CommandHistory & operator=(const CommandHistory &)=delete
void Dump(Stream &stream, size_t start_idx=0, size_t stop_idx=SIZE_MAX) const
llvm::StringRef GetStringAtIndex(size_t idx) const
void AppendString(llvm::StringRef str, bool reject_if_dupe=true)
std::recursive_mutex m_mutex
llvm::StringRef operator[](size_t idx) const