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.cpp194 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() argument
196 : Prompt((ProgName + "> ").str()), HistoryPath(std::string(HistoryPath)), in LineEditor()
198 if (HistoryPath.empty()) in LineEditor()
199 this->HistoryPath = getDefaultHistoryPath(ProgName); in LineEditor()
239 if (!HistoryPath.empty()) { in saveHistory()
241 ::history(Data->Hist, &HE, H_SAVE, HistoryPath.c_str()); in saveHistory()
246 if (!HistoryPath.empty()) { in loadHistory()
248 ::history(Data->Hist, &HE, H_LOAD, HistoryPath.c_str()); in loadHistory()
287 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, in LineEditor() argument
/freebsd/contrib/llvm-project/llvm/include/llvm/LineEditor/
H A DLineEditor.h34 LLVM_ABI LineEditor(StringRef ProgName, StringRef HistoryPath = "",
116 std::string HistoryPath; variable