Home
last modified time | relevance | path

Searched refs:HistoryPath (Results 1 – 2 of 2) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/LineEditor/
H A DLineEditor.cpp199 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() argument
201 : Prompt((ProgName + "> ").str()), HistoryPath(HistoryPath), in LineEditor()
203 if (HistoryPath.empty()) in LineEditor()
204 this->HistoryPath = getDefaultHistoryPath(ProgName); in LineEditor()
244 if (!HistoryPath.empty()) { in saveHistory()
246 ::history(Data->Hist, &HE, H_SAVE, HistoryPath.c_str()); in saveHistory()
251 if (!HistoryPath.empty()) { in loadHistory()
253 ::history(Data->Hist, &HE, H_LOAD, HistoryPath.c_str()); in loadHistory()
287 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() argument
/freebsd-12.1/contrib/llvm/include/llvm/LineEditor/
H A DLineEditor.h34 LineEditor(StringRef ProgName, StringRef HistoryPath = "", FILE *In = stdin,
114 std::string HistoryPath; variable