#include <cinttypes>
#include <optional>
#include "lldb/Interpreter/CommandHistory.h"
usingnamespacelldb;
usingnamespacelldb_private;
size_t CommandHistory::GetSize() const { … }
bool CommandHistory::IsEmpty() const { … }
std::optional<llvm::StringRef>
CommandHistory::FindString(llvm::StringRef input_str) const { … }
llvm::StringRef CommandHistory::GetStringAtIndex(size_t idx) const { … }
llvm::StringRef CommandHistory::operator[](size_t idx) const { … }
llvm::StringRef CommandHistory::GetRecentmostString() const { … }
void CommandHistory::AppendString(llvm::StringRef str, bool reject_if_dupe) { … }
void CommandHistory::Clear() { … }
void CommandHistory::Dump(Stream &stream, size_t start_idx,
size_t stop_idx) const { … }