aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Host/posix/HostInfoPosix.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/Host/posix/HostInfoPosix.h')
-rw-r--r--include/lldb/Host/posix/HostInfoPosix.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/include/lldb/Host/posix/HostInfoPosix.h b/include/lldb/Host/posix/HostInfoPosix.h
index 2e6c2a22f99c..6d22776e1854 100644
--- a/include/lldb/Host/posix/HostInfoPosix.h
+++ b/include/lldb/Host/posix/HostInfoPosix.h
@@ -13,33 +13,33 @@
#include "lldb/Host/FileSpec.h"
#include "lldb/Host/HostInfoBase.h"
-namespace lldb_private
-{
+namespace lldb_private {
-class HostInfoPosix : public HostInfoBase
-{
- friend class HostInfoBase;
+class HostInfoPosix : public HostInfoBase {
+ friend class HostInfoBase;
- public:
- static size_t GetPageSize();
- static bool GetHostname(std::string &s);
- static const char *LookupUserName(uint32_t uid, std::string &user_name);
- static const char *LookupGroupName(uint32_t gid, std::string &group_name);
+public:
+ static size_t GetPageSize();
+ static bool GetHostname(std::string &s);
+ static const char *LookupUserName(uint32_t uid, std::string &user_name);
+ static const char *LookupGroupName(uint32_t gid, std::string &group_name);
- static uint32_t GetUserID();
- static uint32_t GetGroupID();
- static uint32_t GetEffectiveUserID();
- static uint32_t GetEffectiveGroupID();
+ static uint32_t GetUserID();
+ static uint32_t GetGroupID();
+ static uint32_t GetEffectiveUserID();
+ static uint32_t GetEffectiveGroupID();
- static FileSpec GetDefaultShell();
+ static FileSpec GetDefaultShell();
- static bool
- GetEnvironmentVar(const std::string &var_name, std::string &var);
+ static bool GetEnvironmentVar(const std::string &var_name, std::string &var);
protected:
- static bool ComputeSupportExeDirectory(FileSpec &file_spec);
- static bool ComputeHeaderDirectory(FileSpec &file_spec);
- static bool ComputePythonDirectory(FileSpec &file_spec);
+ static bool ComputeSupportExeDirectory(FileSpec &file_spec);
+ static bool ComputeHeaderDirectory(FileSpec &file_spec);
+ static bool ComputePythonDirectory(FileSpec &file_spec);
+ static bool ComputeClangDirectory(FileSpec &file_spec);
+ static bool ComputePathRelativeToLibrary(FileSpec &file_spec,
+ llvm::StringRef dir);
};
}