Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/LineEditor/
H A DLineEditor.cpp198 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() argument
200 : Prompt((ProgName + "> ").str()), HistoryPath(std::string(HistoryPath)), in LineEditor()
202 if (HistoryPath.empty()) in LineEditor()
203 this->HistoryPath = getDefaultHistoryPath(ProgName); in LineEditor()
243 if (!HistoryPath.empty()) { in saveHistory()
245 ::history(Data->Hist, &HE, H_SAVE, HistoryPath.c_str()); in saveHistory()
250 if (!HistoryPath.empty()) { in loadHistory()
252 ::history(Data->Hist, &HE, H_LOAD, HistoryPath.c_str()); in loadHistory()
286 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() argument
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/LineEditor/
H A DLineEditor.h33 LineEditor(StringRef ProgName, StringRef HistoryPath = "", FILE *In = stdin,
113 std::string HistoryPath; variable