Adjust to LLVM's DarwinSDKInfo.h changes

This commit is contained in:
Arnold Schwaighofer
2021-08-03 12:56:15 -07:00
parent a19c84b8f4
commit de0218bf09
4 changed files with 15 additions and 44 deletions

View File

@@ -16,7 +16,7 @@
#include "swift/Basic/LLVM.h"
#include "swift/Config.h"
#include "llvm/ADT/StringRef.h"
#include "clang/Driver/DarwinSDKInfo.h"
#include "clang/Basic/DarwinSDKInfo.h"
namespace llvm {
class Triple;
@@ -104,7 +104,7 @@ namespace swift {
getSwiftRuntimeCompatibilityVersionForTarget(const llvm::Triple &Triple);
/// Retrieve the target SDK version for the given SDKInfo and target triple.
llvm::VersionTuple getTargetSDKVersion(clang::driver::DarwinSDKInfo &SDKInfo,
llvm::VersionTuple getTargetSDKVersion(clang::DarwinSDKInfo &SDKInfo,
const llvm::Triple &triple);
/// Get SDK build version.