Lines Matching defs:VFS
63 getHighestNumericTupleInDirectory(llvm::vfs::FileSystem &VFS,
69 for (llvm::vfs::directory_iterator DirIt = VFS.dir_begin(Directory, EC),
72 auto Status = VFS.status(DirIt->path());
88 static bool getWindows10SDKVersionFromPath(llvm::vfs::FileSystem &VFS,
93 SDKVersion = getHighestNumericTupleInDirectory(VFS, IncludePath);
98 llvm::vfs::FileSystem &VFS, std::optional<llvm::StringRef> WinSdkDir,
116 SDKPath, getHighestNumericTupleInDirectory(VFS, SDKPath));
125 } else if (getWindows10SDKVersionFromPath(VFS, Path, Version)) {
394 Triple::ArchType TargetArch, vfs::FileSystem &VFS) {
398 return !VFS.exists(TestPath);
401 bool getWindowsSDKDir(vfs::FileSystem &VFS, std::optional<StringRef> WinSdkDir,
407 if (getWindowsSDKDirViaCommandLine(VFS, WinSdkDir, WinSdkVersion, WinSysRoot,
439 if (VFS.exists(TestPath)) {
447 if (!getWindows10SDKVersionFromPath(VFS, Path, WindowsSDKIncludeVersion))
456 bool getUniversalCRTSdkDir(vfs::FileSystem &VFS,
464 if (getWindowsSDKDirViaCommandLine(VFS, WinSdkDir, WinSdkVersion, WinSysRoot,
478 return getWindows10SDKVersionFromPath(VFS, Path, UCRTVersion);
481 bool findVCToolChainViaCommandLine(vfs::FileSystem &VFS,
496 ToolsVersion = getHighestNumericTupleInDirectory(VFS, ToolsPath);
508 bool findVCToolChainViaEnvironment(vfs::FileSystem &VFS, std::string &Path,
546 if (!VFS.exists(ExeTestPath))
553 if (!VFS.exists(ExeTestPath))
617 bool findVCToolChainViaSetupConfig(vfs::FileSystem &VFS,
704 auto Status = VFS.status(ToolchainPath);