10 #ifndef LLVM_CLANG_DRIVER_DISTRO_H 11 #define LLVM_CLANG_DRIVER_DISTRO_H 13 #include "llvm/Support/VirtualFileSystem.h" 85 explicit Distro(llvm::vfs::FileSystem &VFS);
88 return DistroVal == Other.DistroVal;
92 return DistroVal != Other.DistroVal;
96 return DistroVal >= Other.DistroVal;
100 return DistroVal <= Other.DistroVal;
128 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