diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2023-07-26 19:03:47 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2023-07-26 19:04:23 +0000 |
| commit | 7fa27ce4a07f19b07799a767fc29416f3b625afb (patch) | |
| tree | 27825c83636c4de341eb09a74f49f5d38a15d165 /lldb/source/Utility/XcodeSDK.cpp | |
| parent | e3b557809604d036af6e00c60f012c2025b59a5e (diff) | |
Diffstat (limited to 'lldb/source/Utility/XcodeSDK.cpp')
| -rw-r--r-- | lldb/source/Utility/XcodeSDK.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Utility/XcodeSDK.cpp b/lldb/source/Utility/XcodeSDK.cpp index 371b86437fa2..84f3ccbd01e2 100644 --- a/lldb/source/Utility/XcodeSDK.cpp +++ b/lldb/source/Utility/XcodeSDK.cpp @@ -11,7 +11,7 @@ #include "lldb/lldb-types.h" -#include "llvm/ADT/Triple.h" +#include "llvm/TargetParser/Triple.h" #include <string> @@ -242,7 +242,7 @@ bool XcodeSDK::SupportsSwift() const { bool XcodeSDK::SDKSupportsModules(XcodeSDK::Type desired_type, const FileSpec &sdk_path) { - ConstString last_path_component = sdk_path.GetLastPathComponent(); + ConstString last_path_component = sdk_path.GetFilename(); if (!last_path_component) return false; |
