Home
last modified time | relevance | path

Searched refs:TemporaryFiles (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/clang/lib/Frontend/
DPrecompiledPreamble.cpp144 class TemporaryFiles { class
147 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 …]
/external/clang/unittests/Tooling/
DRewriterTestContext.h81 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
DRefactoringTest.cpp260 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
/external/llvm-project/clang/unittests/Tooling/
DRewriterTestContext.h94 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
DRefactoringTest.cpp591 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
/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp277 std::vector<std::string> TemporaryFiles; member
340 for (unsigned I = 0, N = TemporaryFiles.size(); I != N; ++I) in ~AllocatedCXCodeCompleteResults()
341 llvm::sys::fs::remove(TemporaryFiles[I]); in ~AllocatedCXCodeCompleteResults()
/external/llvm-project/clang/tools/driver/
Dcc1gen_reproducer_main.cpp148 for (const auto &File : llvm::enumerate(Report.TemporaryFiles)) { in printReproducerInformation()
/external/llvm-project/clang/include/clang/Driver/
DDriver.h438 llvm::SmallVector<std::string, 4> TemporaryFiles; member
/external/clang/lib/Frontend/
DASTUnit.cpp89 SmallVector<std::string, 4> TemporaryFiles; member
167 for (StringRef File : TemporaryFiles) in CleanTemporaryFiles()
169 TemporaryFiles.clear(); in CleanTemporaryFiles()
201 getOnDiskData(this).TemporaryFiles.push_back(TempFile); in addTemporaryFile()
/external/llvm-project/clang/lib/Driver/
DDriver.cpp1419 Report->TemporaryFiles.push_back(TempFile); in generateCompilationDiagnostics()
1453 Report->TemporaryFiles.push_back(std::string(Script.str())); in generateCompilationDiagnostics()