Searched refs:TemporaryFiles (Results 1 – 10 of 10) sorted by relevance
144 class TemporaryFiles { class147 static TemporaryFiles &getInstance();151 TemporaryFiles() = default;153 TemporaryFiles(const TemporaryFiles &) = delete;156 ~TemporaryFiles();169 TemporaryFiles &TemporaryFiles::getInstance() { in getInstance()170 static TemporaryFiles Instance; in getInstance()174 TemporaryFiles::~TemporaryFiles() { in ~TemporaryFiles()180 void TemporaryFiles::addFile(StringRef File) { in addFile()187 void TemporaryFiles::removeFile(StringRef File) { in removeFile()[all …]
81 TemporaryFiles.insert(std::make_pair(Name, Path.str())).first->second; in createOnDiskFile()103 std::string Path = TemporaryFiles.lookup(Name); in getFileContentFromDisk()125 llvm::StringMap<std::string> TemporaryFiles; variable
260 for (llvm::StringMap<std::string>::iterator I = TemporaryFiles.begin(), in ~FlushRewrittenFilesTest()261 E = TemporaryFiles.end(); in ~FlushRewrittenFilesTest()284 TemporaryFiles.insert(std::make_pair(Name, Path.str())).first->second; in createFile()291 std::string Path = TemporaryFiles.lookup(Name); in getFileContentFromDisk()302 llvm::StringMap<std::string> TemporaryFiles; member in clang::tooling::FlushRewrittenFilesTest
94 TemporaryFiles.insert(std::make_pair(Name, std::string(Path.str()))) in createOnDiskFile()117 std::string Path = TemporaryFiles.lookup(Name); in getFileContentFromDisk()139 llvm::StringMap<std::string> TemporaryFiles; variable
591 for (llvm::StringMap<std::string>::iterator I = TemporaryFiles.begin(), in ~FlushRewrittenFilesTest()592 E = TemporaryFiles.end(); in ~FlushRewrittenFilesTest()615 TemporaryFiles.insert(std::make_pair(Name, std::string(Path.str()))) in createFile()624 std::string Path = TemporaryFiles.lookup(Name); in getFileContentFromDisk()635 llvm::StringMap<std::string> TemporaryFiles; member in clang::tooling::FlushRewrittenFilesTest
277 std::vector<std::string> TemporaryFiles; member340 for (unsigned I = 0, N = TemporaryFiles.size(); I != N; ++I) in ~AllocatedCXCodeCompleteResults()341 llvm::sys::fs::remove(TemporaryFiles[I]); in ~AllocatedCXCodeCompleteResults()
148 for (const auto &File : llvm::enumerate(Report.TemporaryFiles)) { in printReproducerInformation()
438 llvm::SmallVector<std::string, 4> TemporaryFiles; member
89 SmallVector<std::string, 4> TemporaryFiles; member167 for (StringRef File : TemporaryFiles) in CleanTemporaryFiles()169 TemporaryFiles.clear(); in CleanTemporaryFiles()201 getOnDiskData(this).TemporaryFiles.push_back(TempFile); in addTemporaryFile()
1419 Report->TemporaryFiles.push_back(TempFile); in generateCompilationDiagnostics()1453 Report->TemporaryFiles.push_back(std::string(Script.str())); in generateCompilationDiagnostics()