9 #ifndef LLVM_CLANG_DRIVER_DISTRO_H 10 #define LLVM_CLANG_DRIVER_DISTRO_H 12 #include "llvm/Support/VirtualFileSystem.h" 86 explicit Distro(llvm::vfs::FileSystem &VFS);
89 return DistroVal == Other.DistroVal;
93 return DistroVal != Other.DistroVal;
97 return DistroVal >= Other.DistroVal;
101 return DistroVal <= Other.DistroVal;
129 return DistroVal ==
Gentoo;
bool operator==(const Distro &Other) const
Distro - Helper class for detecting and classifying Linux distributions.
bool operator!=(const Distro &Other) const
Distro()
Default constructor leaves the distribution unknown.
Distro(DistroType D)
Constructs a Distro type for specific distribution.
bool IsAlpineLinux() const
Dataflow Directional Tag Classes.
bool operator<=(const Distro &Other) const
bool operator>=(const Distro &Other) const