HostInfoBase has a deleted dtor/ctor so there is no need to do the same for
all the classes inheriting from it.
Reviewed By: DavidSpickett, JDevlieghere
Differential Revision: https://reviews.llvm.org/D104221
class HostInfoLinux : public HostInfoPosix {
friend class HostInfoBase;
-private:
- // Static class, unconstructable.
- HostInfoLinux();
- ~HostInfoLinux();
-
public:
static void Initialize(SharedLibraryDirectoryHelper *helper = nullptr);
static void Terminate();
class HostInfoMacOSX : public HostInfoPosix {
friend class HostInfoBase;
-private:
- // Static class, unconstructable.
- HostInfoMacOSX() = delete;
- ~HostInfoMacOSX() = delete;
-
public:
static llvm::VersionTuple GetOSVersion();
static llvm::VersionTuple GetMacCatalystVersion();
class HostInfoWindows : public HostInfoBase {
friend class HostInfoBase;
-private:
- // Static class, unconstructable.
- HostInfoWindows();
- ~HostInfoWindows();
-
public:
static void Initialize(SharedLibraryDirectoryHelper *helper = nullptr);
static void Terminate();