LLVM: include/llvm/WindowsDriver/MSVCPaths.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9#ifndef LLVM_WINDOWSDRIVER_MSVCPATHS_H
10#define LLVM_WINDOWSDRIVER_MSVCPATHS_H
11
16#include
17#include
18
19namespace llvm {
20
21namespace vfs {
23}
24
30
36
37
38
39
41
42
44
45
47
51 std::string &path);
52
53
54
55
56
59 const std::string &VCToolChainPath,
62
63
64
66 const std::string &VCToolChainPath,
69
70
72 std::optionalllvm::StringRef WinSdkDir,
73 std::optionalllvm::StringRef WinSdkVersion,
74 std::optionalllvm::StringRef WinSysRoot,
75 std::string &Path, int &Major,
76 std::string &WindowsSDKIncludeVersion,
77 std::string &WindowsSDKLibVersion);
78
81 std::optionalllvm::StringRef WinSdkDir,
82 std::optionalllvm::StringRef WinSdkVersion,
83 std::optionalllvm::StringRef WinSysRoot,
84 std::string &Path, std::string &UCRTVersion);
85
86
89 std::optionalllvm::StringRef VCToolsDir,
90 std::optionalllvm::StringRef VCToolsVersion,
91 std::optionalllvm::StringRef WinSysRoot,
93
94
96 std::string &Path,
98
99
100
101
102
103
104
107 std::optionalllvm::StringRef VCToolsVersion,
109
110
111
112
115
116}
117
118#endif
This file defines the SmallString class.
SmallString - A SmallString is just a SmallVector with methods and accessors that make it work better...
StringRef - Represent a constant reference to a string, i.e.
The virtual file system interface.
This is an optimization pass for GlobalISel generic memory operations.
LLVM_ABI const char * archToWindowsSDKArch(llvm::Triple::ArchType Arch)
LLVM_ABI bool findVCToolChainViaCommandLine(vfs::FileSystem &VFS, std::optional< llvm::StringRef > VCToolsDir, std::optional< llvm::StringRef > VCToolsVersion, std::optional< llvm::StringRef > WinSysRoot, std::string &Path, ToolsetLayout &VSLayout)
SubDirectoryType
Definition MSVCPaths.h:25
@ Lib
Definition MSVCPaths.h:28
@ Bin
Definition MSVCPaths.h:26
@ Include
Definition MSVCPaths.h:27
LLVM_ABI bool getWindowsSDKDir(vfs::FileSystem &VFS, std::optional< llvm::StringRef > WinSdkDir, std::optional< llvm::StringRef > WinSdkVersion, std::optional< llvm::StringRef > WinSysRoot, std::string &Path, int &Major, std::string &WindowsSDKIncludeVersion, std::string &WindowsSDKLibVersion)
Get Windows SDK installation directory.
LLVM_ABI bool useUniversalCRT(ToolsetLayout VSLayout, const std::string &VCToolChainPath, llvm::Triple::ArchType TargetArch, llvm::vfs::FileSystem &VFS)
LLVM_ABI bool findVCToolChainViaEnvironment(vfs::FileSystem &VFS, std::string &Path, ToolsetLayout &VSLayout)
LLVM_ABI bool findVCToolChainViaSetupConfig(vfs::FileSystem &VFS, std::optional< llvm::StringRef > VCToolsVersion, std::string &Path, ToolsetLayout &VSLayout)
LLVM_ABI const char * archToLegacyVCArch(llvm::Triple::ArchType Arch)
ToolsetLayout
Definition MSVCPaths.h:31
@ VS2017OrNewer
Definition MSVCPaths.h:33
@ DevDivInternal
Definition MSVCPaths.h:34
@ OlderVS
Definition MSVCPaths.h:32
LLVM_ABI const char * archToDevDivInternalArch(llvm::Triple::ArchType Arch)
LLVM_ABI std::string getSubDirectoryPath(SubDirectoryType Type, ToolsetLayout VSLayout, const std::string &VCToolChainPath, llvm::Triple::ArchType TargetArch, llvm::StringRef SubdirParent="")
LLVM_ABI bool appendArchToWindowsSDKLibPath(int SDKMajor, llvm::SmallString< 128 > LibPath, llvm::Triple::ArchType Arch, std::string &path)
LLVM_ABI bool findVCToolChainViaRegistry(std::string &Path, ToolsetLayout &VSLayout)
LLVM_ABI bool getUniversalCRTSdkDir(vfs::FileSystem &VFS, std::optional< llvm::StringRef > WinSdkDir, std::optional< llvm::StringRef > WinSdkVersion, std::optional< llvm::StringRef > WinSysRoot, std::string &Path, std::string &UCRTVersion)