Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/LineEditor/
H A DLineEditor.cpp193 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() argument
195 : Prompt((ProgName + "> ").str()), HistoryPath(std::string(HistoryPath)), in LineEditor()
197 if (HistoryPath.empty()) in LineEditor()
198 this->HistoryPath = getDefaultHistoryPath(ProgName); in LineEditor()
238 if (!HistoryPath.empty()) { in saveHistory()
240 ::history(Data->Hist, &HE, H_SAVE, HistoryPath.c_str()); in saveHistory()
245 if (!HistoryPath.empty()) { in loadHistory()
247 ::history(Data->Hist, &HE, H_LOAD, HistoryPath.c_str()); in loadHistory()
281 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FIL argument
[all...]
/freebsd/contrib/llvm-project/llvm/include/llvm/LineEditor/
H A DLineEditor.h33 LineEditor(StringRef ProgName, StringRef HistoryPath = "", FILE *In = stdin,
113 std::string HistoryPath; variable