ΒΆExpected<Optional<clang::DarwinSDKInfo>>
parseDarwinSDKInfo(llvm::vfs::FileSystem& VFS,
llvm::StringRef SDKRootPath)
Expected<Optional<clang::DarwinSDKInfo>>
parseDarwinSDKInfo(llvm::vfs::FileSystem& VFS,
llvm::StringRef SDKRootPath)
Description
Parse the SDK information from the SDKSettings.json file.
Declared at: clang/include/clang/Basic/DarwinSDKInfo.h:165
Parameters
- llvm::vfs::FileSystem& VFS
- llvm::StringRef SDKRootPath
Returns
an error if the SDKSettings.json file is invalid, None if the SDK has no SDKSettings.json, or a valid \c DarwinSDKInfo otherwise.