Searched refs:TmpDir (Results 1 – 4 of 4) sorted by relevance
97 const char *TmpDir = ::getenv("TMPDIR"); in GetTemporaryPath() local98 if (!TmpDir) in GetTemporaryPath()99 TmpDir = ::getenv("TEMP"); in GetTemporaryPath()100 if (!TmpDir) in GetTemporaryPath()101 TmpDir = ::getenv("TMP"); in GetTemporaryPath()102 if (!TmpDir) in GetTemporaryPath()103 TmpDir = "/tmp"; in GetTemporaryPath()104 llvm::sys::Path P(TmpDir); in GetTemporaryPath()
211 SmallString<1024> TmpDir; in LookupFile() local214 TmpDir = getDir()->getName(); in LookupFile()215 llvm::sys::path::append(TmpDir, Filename); in LookupFile()228 if (SuggestedModule && HS.hasModuleMap(TmpDir, getDir())) { in LookupFile()229 const FileEntry *File = HS.getFileMgr().getFile(TmpDir.str(), in LookupFile()240 return HS.getFileMgr().getFile(TmpDir.str(), /*openFile=*/true); in LookupFile()435 SmallString<1024> TmpDir; in LookupFile() local438 TmpDir += CurFileEnt->getDir()->getName(); in LookupFile()439 TmpDir.push_back('/'); in LookupFile()440 TmpDir.append(Filename.begin(), Filename.end()); in LookupFile()[all …]
1673 const char *TmpDir = ::getenv("TMPDIR"); in GetTemporaryPath() local1674 if (!TmpDir) in GetTemporaryPath()1675 TmpDir = ::getenv("TEMP"); in GetTemporaryPath()1676 if (!TmpDir) in GetTemporaryPath()1677 TmpDir = ::getenv("TMP"); in GetTemporaryPath()1678 if (!TmpDir) in GetTemporaryPath()1679 TmpDir = "/tmp"; in GetTemporaryPath()1680 llvm::sys::Path P(TmpDir); in GetTemporaryPath()
1185 const char *TmpDir = ::getenv("TMPDIR"); in GetPreamblePCHPath() local1186 if (!TmpDir) in GetPreamblePCHPath()1187 TmpDir = ::getenv("TEMP"); in GetPreamblePCHPath()1188 if (!TmpDir) in GetPreamblePCHPath()1189 TmpDir = ::getenv("TMP"); in GetPreamblePCHPath()1191 if (!TmpDir) in GetPreamblePCHPath()1192 TmpDir = ::getenv("USERPROFILE"); in GetPreamblePCHPath()1194 if (!TmpDir) in GetPreamblePCHPath()1195 TmpDir = "/tmp"; in GetPreamblePCHPath()1196 llvm::sys::Path P(TmpDir); in GetPreamblePCHPath()