Searched refs:HistoryPath (Results 1 - 2 of 2) sorted by relevance
/freebsd-13-stable/contrib/llvm-project/llvm/lib/LineEditor/ |
H A D | LineEditor.cpp | 198 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FILE *In, argument 200 : Prompt((ProgName + "> ").str()), HistoryPath(std::string(HistoryPath)), 202 if (HistoryPath.empty()) 203 this->HistoryPath = getDefaultHistoryPath(ProgName); 243 if (!HistoryPath.empty()) { 245 ::history(Data->Hist, &HE, H_SAVE, HistoryPath.c_str()); 250 if (!HistoryPath.empty()) { 252 ::history(Data->Hist, &HE, H_LOAD, HistoryPath.c_str()); 286 LineEditor::LineEditor(StringRef ProgName, StringRef HistoryPath, FIL argument [all...] |
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/LineEditor/ |
H A D | LineEditor.h | 28 /// \param HistoryPath Path to the file in which to store history data, if 33 LineEditor(StringRef ProgName, StringRef HistoryPath = "", FILE *In = stdin, 113 std::string HistoryPath; member in class:llvm::LineEditor
|
Completed in 54 milliseconds