[Lldb-commits] [lldb] cefd280 - Make function static (NFC)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Fri May 26 13:12:35 PDT 2023
Author: Adrian Prantl
Date: 2023-05-26T13:12:12-07:00
New Revision: cefd2802aa49274942da87edf5019b5a23315f01
URL: https://github.com/llvm/llvm-project/commit/cefd2802aa49274942da87edf5019b5a23315f01
DIFF: https://github.com/llvm/llvm-project/commit/cefd2802aa49274942da87edf5019b5a23315f01.diff
LOG: Make function static (NFC)
Added:
Modified:
lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
Removed:
################################################################################
diff --git a/lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm b/lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
index 22298da9bf62..121a397b1c15 100644
--- a/lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
+++ b/lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
@@ -436,7 +436,7 @@ static void ParseOSVersion(llvm::VersionTuple &version, NSString *Key) {
return output.str();
};
-llvm::Expected<std::string> GetXcodeSDK(XcodeSDK sdk) {
+static llvm::Expected<std::string> GetXcodeSDK(XcodeSDK sdk) {
XcodeSDK::Info info = sdk.Parse();
std::string sdk_name = XcodeSDK::GetCanonicalName(info);
if (sdk_name.empty())
More information about the lldb-commits
mailing list