Lines Matching refs:tempDir
36 int GetTempDir(sys::Path& tempDir) {
39 tempDir = TempDirname;
43 tempDir = sys::Path::GetTemporaryDirectory();
47 tempDir = sys::path::parent_path(OutputFilename);
50 // SaveTemps == Cwd --> use current dir (leave tempDir empty).
55 if (llvm::sys::fs::exists(tempDir.str(), Exists) || !Exists) {
57 if (tempDir.createDirectoryOnDisk(true, &ErrMsg)) {
70 sys::Path tempDir;
73 if (int ret = GetTempDir(tempDir))
76 ret = graph.Build(tempDir, langMap);
79 tempDir.eraseFromDisk(true);